Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751614AbaL3Syk (ORCPT ); Tue, 30 Dec 2014 13:54:40 -0500 Received: from mail-vc0-f182.google.com ([209.85.220.182]:48604 "EHLO mail-vc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbaL3Syi (ORCPT ); Tue, 30 Dec 2014 13:54:38 -0500 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 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" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 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/