Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147AbbF3VsS (ORCPT ); Tue, 30 Jun 2015 17:48:18 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:54930 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbbF3VsL (ORCPT ); Tue, 30 Jun 2015 17:48:11 -0400 X-Helo: d03dlp03.boulder.ibm.com X-MailFrom: paulmck@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 30 Jun 2015 14:48:05 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com Subject: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones Message-ID: <20150630214805.GA7795@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: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15063021-0005-0000-0000-000013383FB8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1730 Lines: 43 Hello! This series contains some highly experimental patches that allow normal grace periods to take advantage of the work done by concurrent expedited grace periods. This can reduce the overhead incurred by normal grace periods by eliminating the need for force-quiescent-state scans that would otherwise have happened after the expedited grace period completed. It is not clear whether this is a useful tradeoff. Nevertheless, this series contains the following patches: 1. Pure code-movement commit that allows the RCU grace-period kthread to access the expedited grace period's state. 2. Use snapshot technique to allow a normal grace period to complete after an expedited grace period has completed. 3. Changes to rcutorture to fully test normal grace periods. Current tests would fail to notice some types of forward-progress bugs due to the presence of expedited grace periods in the common case. 4. Make expedited grace periods awaken any concurrent normal grace periods. 5. Throttle the awakening to avoid excessive CPU consumption by the normal grace-period kthread. A separate series will cover changes to the expedited grace-period machinery itself. Thanx, Paul ------------------------------------------------------------------------ b/kernel/rcu/rcutorture.c | 22 +++++- b/kernel/rcu/tree.c | 165 +++++++++++++++++++++++++++------------------- b/kernel/rcu/tree.h | 6 + 3 files changed, 127 insertions(+), 66 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/