Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756160AbdDMJsq (ORCPT ); Thu, 13 Apr 2017 05:48:46 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:43694 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755396AbdDMJsj (ORCPT ); Thu, 13 Apr 2017 05:48:39 -0400 Date: Thu, 13 Apr 2017 11:48:30 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com Subject: Re: [PATCH tip/core/rcu 37/40] srcu: Create a tiny SRCU Message-ID: <20170413094830.tcmya7qer3kpific@hirez.programming.kicks-ass.net> References: <20170412174003.GA23207@linux.vnet.ibm.com> <1492018825-25634-37-git-send-email-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1492018825-25634-37-git-send-email-paulmck@linux.vnet.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 476 Lines: 16 On Wed, Apr 12, 2017 at 10:40:22AM -0700, Paul E. McKenney wrote: > In response to automated complaints about modifications to SRCU > increasing its size, this commit creates a tiny SRCU that is > used in SMP=y && PREEMPT=n builds. You mean SMP=n && PREEMPT=n, right? config TINY_RCU bool default y if !PREEMPT && !SMP > +config TINY_SRCU > + bool > + default y if TINY_RCU > + help > + This option selects the single-CPU non-preemptible version of SRCU.