Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp11873ybp; Thu, 3 Oct 2019 14:02:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmflqa1mgrErUryQCLk+c1SVmq1JEsR5vlQbPMBMfJMD9wJ8I5VPjHvohL6v2nXyEzuKI+ X-Received: by 2002:a05:6402:1699:: with SMTP id a25mr11751776edv.91.1570136524341; Thu, 03 Oct 2019 14:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570136524; cv=none; d=google.com; s=arc-20160816; b=pnTCEweRD69igN4566oZAWvtKc3S6F5M9K179whgnOe4F/TW6EjAYIcF209yAcHILq aCJpnvQdA55IU0KjoyzdsyRwR2mQu79dWd438+9ssMefW26gsQijELS/8K9lANU35vN4 bbVx7BfCdYDV3rD7oiR+UUckL0+83IygCdA19nshVKvudLnv3DmrP8nBBuoTD5pAQuZr 946efYSaoR/nv/FX0e9AmeMW/hQMXKxtD4K8bPr1BEg2vu4fWgE9/HzzNZIHBz4U46Tz 6m7uYBks3yqH0owVaZOEPGgkpbWmMp30QKsFEKoR3vXYrs03eo1xGr8p2TLfh4gmVVDc dv0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WIrZFzsJy4iycGCbOe0uKReizu+dGey8/8JfUByM3aY=; b=ayucmTaEeaU41nfSJ0PSyWSdoRyFw5aYW+fOpnhfaVbWgkbXd76Dge9loBVNyIeMMZ Furhsk2SIab5kGwbOUu/mznVe5Uaz98+ET+KRLDNuETjUvDjklt2nwnnYiZTXNmL7PHX UEsyIDcppRHlpDm0YT6S6nDJEX+SvwhFIVP6rupQP6CkSF0zJqfBgSMQmH55X53e9i0s yduVcHgLkuYVVKssDozIQ+cgbev+SJFWMoA+ozd+ili0a47VWYVoPVNwf/wJbl+KWMWv mMGP42hDQOjOvSl1z5ThRBHsYFJK+YLy1HqB9BviJsySbaM4T0hGFRXW3JdOmTzU/i8N fWyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TUELeMGj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si1857002eju.46.2019.10.03.14.01.39; Thu, 03 Oct 2019 14:02:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TUELeMGj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730382AbfJCU60 (ORCPT + 99 others); Thu, 3 Oct 2019 16:58:26 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:38407 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728503AbfJCU6Z (ORCPT ); Thu, 3 Oct 2019 16:58:25 -0400 Received: by mail-qt1-f193.google.com with SMTP id j31so5622079qta.5; Thu, 03 Oct 2019 13:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WIrZFzsJy4iycGCbOe0uKReizu+dGey8/8JfUByM3aY=; b=TUELeMGj1bnZp0T6dXOObTKSWjB6GhVTk1U3pAbRQWpYvWEnGpJn32dyCPfgJp8vBY 1ItpjtUQhm0H3CCe2Q19Udml9dQVWGhA+H+RMyxdiHETM4e+fjkgK6Z2BrCxgJUcRMuW /HhwXEwBK9x2MqZ+rntfhF7v3koRfj6cB8IwDJ0mRXXx6h4OCkFkM9ya1El9wHBPYSQq Vxl577u3dj6cBqUM6718XQugrH3kn+KenZdor2eb5QxyGE2BEDOX8Shg80PpCs+zbf/g KEEJmaVWe0lTBDGZ4vVvdPNxyKCVwhhHBZ1F+EyGNCwvtiJTHEqZTgZFoMTtjZ9QfD56 6mKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WIrZFzsJy4iycGCbOe0uKReizu+dGey8/8JfUByM3aY=; b=ihub32iBSiCoT4JbmcCrGH8o0bHTTQMhyFe68U8A0g12dXGmwlVLJNQG0kQH7e/p52 K6A7QANMjYihVkgDa2QTmjXgk9vX/8O0FDMt/UJdDvxQebSVCR+n4Y1czid6LKC+TTgZ z2KOXzfyKQ5v9YAdj3edg1+p8L66E0rB/SwYRelXbpi4qIVyXhQl2vrqYLpy5F+SZK0c Sz3DMnTMwqhUo+RTOjFnSXoBjAGhpVaZlAl1NjoUGCFfLUNX9HyynhpORzvV2w2kngaj n/t10mRlBCCYqtmUOmVRs1IwBcW5Kxdm8AyBD3KGk23k8T+pEOtfLIXwOC1+iQUJ0wz8 bLeA== X-Gm-Message-State: APjAAAUNkStSpLb6aih7weDxR52VY/NbnI1D5uwpygOUbBG2v2e/nHVn 05tIj1c43NVXcE/LEu6uARPso1BFXO37urN8Uq0= X-Received: by 2002:a0c:9846:: with SMTP id e6mr10462518qvd.114.1570136304688; Thu, 03 Oct 2019 13:58:24 -0700 (PDT) MIME-Version: 1.0 References: <20191003014153.GA13156@paulmck-ThinkPad-P72> <20191003014310.13262-6-paulmck@kernel.org> In-Reply-To: From: Song Liu Date: Thu, 3 Oct 2019 13:58:13 -0700 Message-ID: Subject: Re: [PATCH tip/core/rcu 6/9] bpf/cgroup: Replace rcu_swap_protected() with rcu_replace() To: Andrii Nakryiko Cc: paulmck@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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