Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1416035ybl; Wed, 28 Aug 2019 14:28:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGk7K3LhMkfH6tna9SoT3q/GjuebLIBHrTJG+D0pPq4J+b3SJtv8Zaf0vxc3IbbP4uaVoA X-Received: by 2002:a62:1d93:: with SMTP id d141mr7342182pfd.40.1567027697742; Wed, 28 Aug 2019 14:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567027697; cv=none; d=google.com; s=arc-20160816; b=nKFkRU3TyIuaJoJwKk4UP8HNQz4xVAMRZt51rFY7vjbnY4x0ihPSxTNJv5BH2qTU1m 5AN6PyIGvhtVHbG3tyMdrsJQxOHnPJ+zWdM5D6BkC2QkSkNVMaMYy/fJHeXhw521q+PY twgrod/vpRHRfhSLqoY3irsfQ0GPBNqPA+FlWlf1uH9jZ4wJxLPCQBkoK5BIpj4u6vDH +Mqk3+C1ZzDEhpGdrpodzEB3/4VssTviOGV/acRkeKxEyjAE+U1EsbwNGiJnCmC9WUv3 W/w1VaKpsYR92EhtOTmNDIrDbII6o8hYHwCIZVAVtEUl5R1+qoRMsQnwKmg4OO+ULsFC dc6w== 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=DZE+I17WUXfulNqloPBEY+WzSfcCoyev0zgQpc73LBs=; b=ThlX4TJoiTxR61vyL2mcFYBYlFFvAqnjjTbiuwsdaG5gdkAEVz1crA+1VuawrHV05U l+qpVL7garF//p1w7ycuPZ37fZxeoO8Gzqmn9ZYG+HZ7BJIYfMWzbuCgOEwG1aoC87sS MEyq6BOeI2Cz5esLt3L+ROdE1vdobG5pCYbCuJcV0cOeSMZy8wNHIwRi++zUqd1YjdPi xMklO82aJu2eJdpQF/l64YlAj/9OfiuMVXSPcNYeLyArW31uX3bz8Hfuqyx3jf3zieeq YWVpQB1DxDgwi5qOrBTxcJqZmfyEAeC3yfa6Z277vMIYz6OtTBZxmdCUHO+3GtRm64/D 7QnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=IKaQgq0y; 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 b6si99218pla.196.2019.08.28.14.28.01; Wed, 28 Aug 2019 14:28:17 -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=IKaQgq0y; 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 S1726975AbfH1V05 (ORCPT + 99 others); Wed, 28 Aug 2019 17:26:57 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:46874 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbfH1V05 (ORCPT ); Wed, 28 Aug 2019 17:26:57 -0400 Received: by mail-pf1-f195.google.com with SMTP id q139so569114pfc.13 for ; Wed, 28 Aug 2019 14:26:56 -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=DZE+I17WUXfulNqloPBEY+WzSfcCoyev0zgQpc73LBs=; b=IKaQgq0yAWh7Vz5wXXFT87FaFZA6kr424RlcH++fA892HsLcwSdYQxjywwnsgGiwus /Nwol9uU25m9aZ7BNiQ1rLQL9YbTF2wmgJ9OjrzpJfZFrNPQtwgjSJJpGb8F1HnRcynj 0zNtvHwjeWoAWwn0Hprajeqh8zULN4yt5WmlA= 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=DZE+I17WUXfulNqloPBEY+WzSfcCoyev0zgQpc73LBs=; b=PbX8Wy82N7bmKX7FiSHOQ46zYD3EIQwMxSmigB6fnr0576YdWTyEJljYFh5JeY8pBf KoiG0bkQr0OfAt/j6hJ78XMuhhTsr1/yDea9iYJL+0vDL+GtlMlFJBLDFAIUfIiQ488/ sTQa+7ebCezBP5dYflbimI/nkFzQUcECvmwMY4zy+2njd/221ElKeWi1daL8bxwgJbGb MGB1zjBHy2gsgWLMKammQP0l1CIvvyBY9MI8LlUlHty3nPjKCH8dsXTd3w2N6weBjNoS L3h0AhEINuOPjYx5tVcqSkdH3qkaajehYAzcP9GryMe2GxbxWvXIzsexxYB2WnjI2pMv LuGg== X-Gm-Message-State: APjAAAU6V5wg3aUkS57zegEushe5eKh9CrSEnde1DuTCWYGAkJb6YXhD RgvYZ/Ta5xjj9kKHtCZ1VSrdBpXYIis= X-Received: by 2002:a17:90a:cc11:: with SMTP id b17mr6240846pju.136.1567027616235; Wed, 28 Aug 2019 14:26:56 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id 138sm335018pfw.78.2019.08.28.14.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 14:26:55 -0700 (PDT) Date: Wed, 28 Aug 2019 17:26:54 -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: <20190828212654.GC75931@google.com> References: <5d657e30.1c69fb81.54250.01dc@mx.google.com> <20190828202808.GT26530@linux.ibm.com> <20190828203458.GA75931@google.com> <20190828204624.GV26530@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828204624.GV26530@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:46:24PM -0700, Paul E. McKenney wrote: > On Wed, Aug 28, 2019 at 04:34:58PM -0400, Joel Fernandes wrote: > > 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 ;-) > > Which suggests that you should move the "nice negative delta" comment > to the commits that actually have nice negative deltas. ;-) Will do! thanks, - Joel