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.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 7E001C3A59B for ; Fri, 30 Aug 2019 16:36:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4CF502342C for ; Fri, 30 Aug 2019 16:36:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b="ca4lqlr1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727901AbfH3Qgn (ORCPT ); Fri, 30 Aug 2019 12:36:43 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36521 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727876AbfH3Qgm (ORCPT ); Fri, 30 Aug 2019 12:36:42 -0400 Received: by mail-pg1-f195.google.com with SMTP id l21so3811584pgm.3 for ; Fri, 30 Aug 2019 09:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3eiTpGNQSkx9ZgNGAr1zGvClHVvsS/CM6xJvw5Wr6Zs=; b=ca4lqlr1vdsHU1dQm4AsP65WqLqWQETwpTVm1fDI2LNNFCm2YTDfFwdZg8tlsP9YYs oG6dG2gEGropzz+pVsq03bQGLx7D/6jRVwwzuNS7cqO1pSKktP7TeQ1XOzSX4kpV65yB uX3jchBo1ZSZKf6lZXX4ABFUyyQaj4jSQSCY8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3eiTpGNQSkx9ZgNGAr1zGvClHVvsS/CM6xJvw5Wr6Zs=; b=IBRmkUnDupl8aHwsOm+YNT1j2EpqR8ZSc6jwwuFX9jaOxelMmNsHs3q5mYzT08eizR 4plpg0WyQ2ZXEsv2q+cFce2HphABMKBVGXY/M0KrCGmcFcSi/+jy6yRuf8FGCfiGzKFX bNw0amvb6k4OzSMmoIDJgFwQl5BnDkaPIwWvdvMNw2YBODwtNzvwgJjjjeOzRUTXRXX+ 1wOiY+eJS6RlzsEdI3r5YF2KqVkhBIxwplkPI+AtdzfTbnoGC67KKajF7ZyXVR6dpLGz 0ZliYq95BNqOF1qHBKzZ9hqnxJVx9mrpaBP3S43cLmTKiOeiTNrNXtkr/3afAutMvB1Y G1SQ== X-Gm-Message-State: APjAAAU/so3B3yDyZc/UEzASQpc3dWDr6SyHFeyDaYZMZQaJcGYFfgMY e+6JgIa3Wrsc38+COznTTBpKqg== X-Google-Smtp-Source: APXvYqxoOhkJ0TDYONOgUk9+Gi3RYif+56yCvEtVd+LRIQCMk6OWqnu/7VYuA72JktgkoyyS6PTuBA== X-Received: by 2002:a62:4e09:: with SMTP id c9mr19914284pfb.130.1567183002219; Fri, 30 Aug 2019 09:36:42 -0700 (PDT) Received: from joelaf.cam.corp.google.com ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id j74sm6114080pje.14.2019.08.30.09.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2019 09:36:41 -0700 (PDT) From: "Joel Fernandes (Google)" To: linux-kernel@vger.kernel.org Cc: "Joel Fernandes (Google)" , byungchul.park@lge.com, Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , "Paul E. McKenney" , rcu@vger.kernel.org, Steven Rostedt Subject: [PATCH v2 -rcu dev 0/5] kfree_rcu() additions for -rcu Date: Fri, 30 Aug 2019 12:36:28 -0400 Message-Id: <20190830163633.104099-1-joel@joelfernandes.org> X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: rcu-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Hi, This is a series on top of the patch "rcu/tree: Add basic support for kfree_rcu() batching". 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. Based on patch: Link: http://lore.kernel.org/r/20190814160411.58591-1-joel@joelfernandes.org v1 series: https://lkml.org/lkml/2019/8/27/1315 https://lore.kernel.org/patchwork/project/lkml/list/?series=408218 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 | 11 +- .../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 | 155 ++++++++++------ kernel/rcu/tree.h | 1 - kernel/rcu/tree_plugin.h | 48 ++--- kernel/rcu/tree_stall.h | 6 +- 16 files changed, 343 insertions(+), 214 deletions(-) -- 2.23.0.187.g17f5b7556c-goog