From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751622AbdG1GgI (ORCPT ); Fri, 28 Jul 2017 02:36:08 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38261 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbdG1GgH (ORCPT ); Fri, 28 Jul 2017 02:36:07 -0400 Date: Fri, 28 Jul 2017 08:36:03 +0200 From: Ingo Molnar To: Masami Hiramatsu Cc: Thomas Gleixner , Francis Deslauriers , mathieu.desnoyers@efficios.com, Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S . Miller" , linux-kernel@vger.kernel.org Subject: Re: [PATCH -tip v5 1/2] irq: Introduce CONFIG_IRQENTRY kconfig Message-ID: <20170728063603.gmew42j5luosk5hw@gmail.com> References: <150117231747.27132.4997655262896089325.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150117231747.27132.4997655262896089325.stgit@devbox> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Masami Hiramatsu wrote: > Introduce CONFIG_IRQENTRY to simplify generating > irqentry and softirqentry text sections. > Currently generating those sections depends on > CONFIG_FUNCTION_GRAPH_TRACER and/or CONFIG_KASAN, in > each source code. This moves those #ifdef dependencies > into Kconfig, instead of the actual code. This makes > it scalable for other user of irqentry section. Please just make it unconditional. That would remove a number of messy #ifdefs, and extra sections/symbols don't have much if any cost. Thanks, Ingo