From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754421AbbELWtG (ORCPT ); Tue, 12 May 2015 18:49:06 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:42488 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754258AbbELWtC (ORCPT ); Tue, 12 May 2015 18:49:02 -0400 Date: Tue, 12 May 2015 15:48:55 -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 tip/core/rcu 0/3] Tiny RCU updates for 4.2 Message-ID: <20150512224855.GA4776@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: 15051222-0017-0000-0000-00000ABE51F9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains updates to Tiny RCU, including a low-probability but quite real race condition. 1. Further shrink Tiny RCU by making empty functions static inlines. 2. Test both RCU-sched and RCU-bh for Tiny RCU, which located the race condition fixed by #3 below. 3. Correctly handle non-empty Tiny RCU callback list with none ready. Thanx, Paul ------------------------------------------------------------------------ b/include/linux/rcupdate.h | 4 - b/include/linux/rcutiny.h | 16 ++++ b/include/linux/rcutree.h | 5 + b/kernel/rcu/tiny.c | 38 +---------- b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot | 1 5 files changed, 27 insertions(+), 37 deletions(-)