Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1366616ybl; Wed, 28 Aug 2019 13:37:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUv8yrfv4OVRC/xoLDVH9r12q84TU8Yg2vVJKBL4XOD/q+7VWalVCXGFd2dQHudFLAUDSt X-Received: by 2002:a17:90a:e654:: with SMTP id ep20mr6216763pjb.38.1567024638168; Wed, 28 Aug 2019 13:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567024638; cv=none; d=google.com; s=arc-20160816; b=MmhkHN6TXcLRcA1Ybi+33mLHyqhRXfnO/RCMMg1svUVbk5FmjSfGGOh8/Nn82wE0US GDYaeQODHphE11zS4vxlIu3zHdKavQC8GWY3GUv97NogxMfMQmi0XpUUHh35I8d+XGiX pBkFB/+RfsUryNcCjJ/2nuqUQp3HzALrRM2LH1Bq8cp9ei9LICMH9e4ub2Vnf2DEgPUf /e1s1YQ2t0/mal6fycnyHRt3tLAPuLZUcX649kJYyYgjl41ogiFFfcQlBKLc35Ea8wEl TzmXGJ2SaNPqHG195o8dF0B/4Fzq9RyoIgESinU5/TNMQukfE9u/N3Li20pekJuNX3cg wf6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=upwaiJ61BH1IpIswTLq+2j1brd6YlJwq3xhLh2FJl/Q=; b=td3Z+cXi2E0NcK3qANQcbpedcJBhj6/CU0fQCWFLL8aYkuZMW6+92+68NXSJQKeIFI z56C1GQW5o6Ps+AUQ+MqmP3+OcwCahh6wLqfljsPexvytMVFbze/U/jSHGnq3RxbYxPI sPicTzD5AY+8xzdycOSSUZsy3ZSBt+i3WqbbsmbrZRUAPz8zOr+2qiF42hPxpq3aw+pb 7wMVgRX4B/sWs2JBcSGOGzO6nFOHFMaoMzaaowZc3TG3D5n2ous/crel5YPLM5JBSjM1 Lqrf5zanlY3e9Qh01k7gw6ImzMOGxlf8U1hT9c0WnZAvkLP/WdN8NFgmEh54o1OXb0yN 5M0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=j0BmqqfF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si98120pgg.490.2019.08.28.13.37.01; Wed, 28 Aug 2019 13:37:18 -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=@joelfernandes.org header.s=google header.b=j0BmqqfF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727052AbfH1UfB (ORCPT + 99 others); Wed, 28 Aug 2019 16:35:01 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:37075 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbfH1UfA (ORCPT ); Wed, 28 Aug 2019 16:35:00 -0400 Received: by mail-pl1-f196.google.com with SMTP id bj8so498430plb.4 for ; Wed, 28 Aug 2019 13:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=upwaiJ61BH1IpIswTLq+2j1brd6YlJwq3xhLh2FJl/Q=; b=j0BmqqfF2dUwzXmcTIDGocquJMKbOF2wEU+8SAdj+xEVuSMZZt2jvoMBCH9qUDV+W4 uhp73qjEXaaGHfOJZyoJqtVlxC+xLcYkpu4P4xSXiVYog59x/FImui1wixg9OrquFFcn gpjMbjgO+WQ7poBwG4DFhCjIajmLZEDP1B0ec= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=upwaiJ61BH1IpIswTLq+2j1brd6YlJwq3xhLh2FJl/Q=; b=PWzj3VUaQ9vmvgzMUMX8PDjryL9G7RGn9OXDLg2HD4L2eW9IeY8i8Qf+uZm/1EMvoG suLG6QRZHsT/aZcqlck+zJdIHy94F9WUL8vjartOfpvYst35WgNGoy9GdzciC3JIEXXi ya6BU3SR9FV9XmunOby70N7IgUEX/o3Ev2IKRkUWhZV61P7sN2KGDt96j24XVthxr9lm fWraZ/moORiTSM/0VQ+3JQDb5HU9cxMmBLV/DIUrvIpoZwoiCZJnqXcONE7LM/YsJ6FL 4gGP1UboJklSUVSgpvrwbsOzbMY3UmG/q7bTnC43AHF9SOxpGjHHUX4kPfYUJGKUJJXa hRiQ== X-Gm-Message-State: APjAAAW8oemorIgBvA7IUV1m8rg4ZTysdkMMdmizk87aAhqMmIT/fQHP rZomnIRhicBHS01AbsqfAiVIZg== X-Received: by 2002:a17:902:a410:: with SMTP id p16mr6220611plq.150.1567024500119; Wed, 28 Aug 2019 13:35:00 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id y14sm62881pge.7.2019.08.28.13.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 13:34:59 -0700 (PDT) Date: Wed, 28 Aug 2019 16:34:58 -0400 From: Joel Fernandes To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, byungchul.park@lge.com, Josh Triplett , Lai Jiangshan , linux-doc@vger.kernel.org, Mathieu Desnoyers , rcu@vger.kernel.org, Steven Rostedt , kernel-team@android.com Subject: Re: [PATCH 0/5] kfree_rcu() additions for -rcu Message-ID: <20190828203458.GA75931@google.com> References: <5d657e30.1c69fb81.54250.01dc@mx.google.com> <20190828202808.GT26530@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828202808.GT26530@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 28, 2019 at 01:28:08PM -0700, Paul E. McKenney wrote: > On Tue, Aug 27, 2019 at 03:01:54PM -0400, Joel Fernandes (Google) wrote: > > Hi, > > > > This is a series on top of the patch "rcu/tree: Add basic support for kfree_rcu() batching". > > > > Link: http://lore.kernel.org/r/20190814160411.58591-1-joel@joelfernandes.org > > > > It adds performance tests, some clean ups and removal of "lazy" RCU callbacks. > > > > Now that kfree_rcu() is handled separately from call_rcu(), we also get rid of > > kfree "lazy" handling from tree RCU as suggested by Paul which will be unused. > > This also results in a nice negative delta as well. > > > > Joel Fernandes (Google) (5): > > rcu/rcuperf: Add kfree_rcu() performance Tests > > rcu/tree: Add multiple in-flight batches of kfree_rcu work > > rcu/tree: Add support for debug_objects debugging for kfree_rcu() > > rcu: Remove kfree_rcu() special casing and lazy handling > > rcu: Remove kfree_call_rcu_nobatch() > > > > Documentation/RCU/stallwarn.txt | 13 +- > > .../admin-guide/kernel-parameters.txt | 13 ++ > > include/linux/rcu_segcblist.h | 2 - > > include/linux/rcutiny.h | 5 - > > include/linux/rcutree.h | 1 - > > include/trace/events/rcu.h | 32 ++-- > > kernel/rcu/rcu.h | 27 --- > > kernel/rcu/rcu_segcblist.c | 25 +-- > > kernel/rcu/rcu_segcblist.h | 25 +-- > > kernel/rcu/rcuperf.c | 173 +++++++++++++++++- > > kernel/rcu/srcutree.c | 4 +- > > kernel/rcu/tiny.c | 29 ++- > > kernel/rcu/tree.c | 145 ++++++++++----- > > kernel/rcu/tree.h | 1 - > > kernel/rcu/tree_plugin.h | 42 +---- > > kernel/rcu/tree_stall.h | 6 +- > > 16 files changed, 337 insertions(+), 206 deletions(-) > > Looks like a 131-line positive delta to me. ;-) Not if you overlook the rcuperf changes which is just test code. :-D ;-) thanks, - Joel