From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756105Ab3ETO6B (ORCPT ); Mon, 20 May 2013 10:58:01 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:46556 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718Ab3ETO6A (ORCPT ); Mon, 20 May 2013 10:58:00 -0400 Date: Mon, 20 May 2013 07:57:51 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@elte.hu, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, niv@us.ibm.com, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, Valdis.Kletnieks@vt.edu, dhowells@redhat.com, edumazet@google.com, darren@dvhart.com, fweisbec@gmail.com, sbw@mit.edu Subject: [PATCH tip/core/rcu 0/13] v2 TINY_RCU changes for 3.11 Message-ID: <20130520145751.GA32218@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13052014-7282-0000-0000-000017651CA4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series removes TINY_PREEMPT_RCU, as promised/threatened at http://lwn.net/Articles/541037/ and https://lkml.org/lkml/2012/11/12/545. 1. Remove TINY_PREEMPT_RCU. This is a straight syntactic removal, with no attempt at cleanup. The remaining patches do the cleanup. 2. Inline the now-empty show_tiny_preempt_stats() function. 3. Inline the now-empty rcu_preempt_check_callbacks() function. 4. Inline the now-empty rcu_preempt_remove_callbacks() function. 5. Inline the now-empty rcu_preempt_process_callbacks() function. 6. Because TINY_RCU no longer has kthreads, remove the code that used to abstract away kthread vs. softirq invocation. 7. Inline the now-empty check_cpu_stall_preempt() function. 8. Remove CONFIG_TINY_RCU ifdefs from include/linux/rcutiny.h 9. Inline the now-empty rcu_preempt_note_context_switch() function. 10. Move code to allow consolidating ifdefs in kernel/rcutiny_plugin.h. 11. Remove TINY_PREEMPT_RCU's tracing formats from documentation. 12. Shrink TINY_RCU a bit by moving exit_rcu() to TREE_RCU, leaving TINY_RCU with a static inline empty function. 13. Shrink TINY_RCU a bit more by making reset_cpu_stall_ticks() and check_cpu_stalls() inlineable. Changes from v1: Add Reviewed-bys and add the 13th patch. Thanx, Paul b/Documentation/RCU/trace.txt | 100 ---- b/include/linux/hardirq.h | 2 b/include/linux/rcupdate.h | 5 b/include/linux/rcutiny.h | 45 - b/include/linux/rcutree.h | 3 b/init/Kconfig | 10 b/kernel/rcupdate.c | 26 - b/kernel/rcutiny.c | 21 b/kernel/rcutiny_plugin.h | 1023 +----------------------------------------- b/kernel/rcutree_plugin.h | 26 + 10 files changed, 96 insertions(+), 1165 deletions(-)