From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03AE5C47404 for ; Sat, 5 Oct 2019 16:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0CA6222CC for ; Sat, 5 Oct 2019 16:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570291916; bh=uVvN8miFlyBBEL1s+R/jjVoYmf+OtDC+ppk3W/XU+LA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:List-ID: From; b=sErGYMF3MFpMog55GN492bND2n3qE2fA7DEOpqrssAnR6CnXFEKJOIj1v7MOpn1BH IEVoenS2dI+yGb/shNgfiF9q133pbXBY2lEXQXUTxVv5UsNCG//FZ/IcIRfipWm6Ha CH9KzL1prh/ao3b8PWdvDobC0ZV0/YIQ8vbytIOY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729320AbfJEQL4 (ORCPT ); Sat, 5 Oct 2019 12:11:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:37650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbfJEQL4 (ORCPT ); Sat, 5 Oct 2019 12:11:56 -0400 Received: from paulmck-ThinkPad-P72 (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F0585222C0; Sat, 5 Oct 2019 16:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570291915; bh=uVvN8miFlyBBEL1s+R/jjVoYmf+OtDC+ppk3W/XU+LA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=VrOhGxHBUp2QBoaABNkTv59q46KU+zMgoXVjo4A+z8jyTemuC+d+MnJsoKBSsLKyk ab+nbGBh74pV2MAWEd6dae0UUaaGgTHUo+Pxk5q4buhnWbsEjUplJRXx2cQJmszJIH SRZCjP7IRd5OSeWeBIWD3gEfvjE8KJ7BdrXylHRw= Date: Sat, 5 Oct 2019 09:11:53 -0700 From: "Paul E. McKenney" To: Song Liu Cc: Andrii Nakryiko , rcu@vger.kernel.org, open list , Ingo Molnar , jiangshanlai@gmail.com, dipankar@in.ibm.com, Andrew Morton , mathieu.desnoyers@efficios.com, josh@joshtriplett.org, Thomas Gleixner , Peter Ziljstra , Steven Rostedt , dhowells@redhat.com, Eric Dumazet , fweisbec@gmail.com, Oleg Nesterov , Joel Fernandes , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Networking , bpf Subject: Re: [PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace() Message-ID: <20191005161153.GG2689@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20191003014153.GA13156@paulmck-ThinkPad-P72> <20191003014310.13262-6-paulmck@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Thu, Oct 03, 2019 at 01:58:13PM -0700, Song Liu wrote: > On Thu, Oct 3, 2019 at 10:43 AM Andrii Nakryiko > wrote: > > > > On Wed, Oct 2, 2019 at 6:45 PM wrote: > > > > > > From: "Paul E. McKenney" > > > > > > This commit replaces the use of rcu_swap_protected() with the more > > > intuitively appealing rcu_replace() as a step towards removing > > > rcu_swap_protected(). > > > > > > Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/ > > > Reported-by: Linus Torvalds > > > Signed-off-by: Paul E. McKenney > > > Cc: Alexei Starovoitov > > > Cc: Daniel Borkmann > > > Cc: Martin KaFai Lau > > > Cc: Song Liu > > > Cc: Yonghong Song > > > Cc: > > > Cc: > > > --- > > > > Acked-by: Andrii Nakryiko > > Acked-by: Song Liu Applied, thank you both! Thanx, Paul