From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com [IPv6:2607:f8b0:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id EDB131A0321 for ; Wed, 31 Dec 2014 05:54:39 +1100 (AEDT) Received: by mail-vc0-f172.google.com with SMTP id hq11so5986192vcb.17 for ; Tue, 30 Dec 2014 10:54:37 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <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> <20141230185008.GA23965@worktop.programming.kicks-ass.net> From: Pranith Kumar Date: Tue, 30 Dec 2014 13:54:07 -0500 Message-ID: Subject: Re: [PATCH v2] srcu: Isolate srcu sections using CONFIG_SRCU To: Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Cc: Heiko Carstens , Tiejun Chen , Paul Mackerras , Daniel Walter , Ingo Molnar , "open list:S390" , Vincent Guittot , Christian Borntraeger , Jens Freimann , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Anton Blanchard , Scott Wood , Lai Jiangshan , Li Zhong , Nishanth Aravamudan , open list , "Srivatsa S. Bhat" , Martin Schwidefsky , "supporter:S390" , "open list:LINUX FOR POWERPC..." List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Dec 30, 2014 at 1:50 PM, Peter Zijlstra wrote: > 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? This is part of the kernel tinification efforts. The first patch was posted here: https://lkml.org/lkml/2014/12/4/848. This patch enables a compile time failure instead of a link time failure. Thanks! -- Pranith