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=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 8123AC32792 for ; Thu, 3 Oct 2019 20:58:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51A68215EA for ; Thu, 3 Oct 2019 20:58:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TUELeMGj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729566AbfJCU60 (ORCPT ); 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-Google-Smtp-Source: APXvYqx8pJ3WWpgB3HKjBdeqRnKtSmk9B7++9MNYZYl5YXKOTp5N2c7zor6mXaH+z8duvvJ7CrD6z/1c6qd6N82m9Zk= 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: rcu-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: rcu@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