Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613AbbKIJsv (ORCPT ); Mon, 9 Nov 2015 04:48:51 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:47189 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbbKIJsu (ORCPT ); Mon, 9 Nov 2015 04:48:50 -0500 Date: Mon, 9 Nov 2015 10:48:41 +0100 From: Peter Zijlstra To: Andy Lutomirski Cc: Thomas Gleixner , Borislav Petkov , Frederic Weisbecker , Brian Gerst , "linux-kernel@vger.kernel.org" , X86 ML , Linus Torvalds Subject: Re: [PATCH 3/4] x86/asm: Add asm macros for static keys/jump labels Message-ID: <20151109094841.GG17308@twins.programming.kicks-ass.net> References: <42b51cafe425b8d7d177c7c363235df0ace22692.1446849780.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 790 Lines: 19 On Sat, Nov 07, 2015 at 10:16:37AM -0800, Andy Lutomirski wrote: > >> Unfortunately, these only work if HAVE_JUMP_LABEL .... > > Yeah, I don't really like that either. I think that the real fix > would be to compile in the runtime jump label bits unconditionally. > Admittedly it would bloat the kernel image a little bit for > !CONFIG_JUMP_LABEL or if build with an older gcc, and that's even less > appropriate for 4.4 at this point. Peter? That is a _lot_ of code for just one user. I'll bet the tiny people won't be happy about that. -- 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/