From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbbCSWEk (ORCPT ); Thu, 19 Mar 2015 18:04:40 -0400 Received: from casper.infradead.org ([85.118.1.10]:35294 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbbCSWEj (ORCPT ); Thu, 19 Mar 2015 18:04:39 -0400 Date: Thu, 19 Mar 2015 23:04:33 +0100 From: Peter Zijlstra To: Andrew Morton Cc: mingo@kernel.org, rusty@rustcorp.com.au, mathieu.desnoyers@efficios.com, oleg@redhat.com, paulmck@linux.vnet.ibm.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, andi@firstfloor.org, rostedt@goodmis.org, tglx@linutronix.de, Michel Lespinasse , Andrea Arcangeli , David Woodhouse , Rik van Riel Subject: Re: [PATCH 6/8] rbtree: Implement generic latch_tree Message-ID: <20150319220433.GS2896@worktop.programming.kicks-ass.net> References: <20150318133626.526984618@infradead.org> <20150318134631.939369528@infradead.org> <20150318221446.14b0b04d.akpm@linux-foundation.org> <20150319072502.GR23123@twins.programming.kicks-ass.net> <20150319135833.5a844744936bd8fdafea7ed5@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150319135833.5a844744936bd8fdafea7ed5@linux-foundation.org> 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 Thu, Mar 19, 2015 at 01:58:33PM -0700, Andrew Morton wrote: > OK. This code is basically required to support perf/ftrace and > modules, yes? Presumably small and space-constrained systems aren't > using either, so they don't take the hit. > > However CONFIG_MODULES systems which aren't using perf/ftrace _do_ take > a hit. How many systems are we talking here? All non-x86? No, there's plenty !x86 systems that have NMI and perf/ftrace, in fact, ARM has them (FIQ) and there's event some ARM chips that use them for perf (i.MX6 is one). But sure, we could make this depend on CONFIG_PERF_EVENTS || CONFIG_TRACING.