Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbaL3Sue (ORCPT ); Tue, 30 Dec 2014 13:50:34 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:34472 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbaL3Suc (ORCPT ); Tue, 30 Dec 2014 13:50:32 -0500 Date: Tue, 30 Dec 2014 19:50:08 +0100 From: Peter Zijlstra To: Pranith Kumar Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , "supporter:S390" , Lai Jiangshan , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Scott Wood , Anton Blanchard , Daniel Walter , Tiejun Chen , Nishanth Aravamudan , Ingo Molnar , "Srivatsa S. Bhat" , Vincent Guittot , Li Zhong , Christian Borntraeger , Jens Freimann , "open list:LINUX FOR POWERPC..." , open list , "open list:S390" Subject: Re: [PATCH v2] srcu: Isolate srcu sections using CONFIG_SRCU Message-ID: <20141230185008.GA23965@worktop.programming.kicks-ass.net> References: <1419918382-4758-1-git-send-email-bobby.prani@gmail.com> <1419918382-4758-2-git-send-email-bobby.prani@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1419918382-4758-2-git-send-email-bobby.prani@gmail.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 30, 2014 at 12:46:22AM -0500, Pranith Kumar wrote: > Isolate the SRCU functions and data structures within CONFIG_SRCU so that there > is a compile time failure if srcu is used when not enabled. This was decided to > be better than waiting until link time for a failure to occur. Why? -- 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/