Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753793AbbERJ24 (ORCPT ); Mon, 18 May 2015 05:28:56 -0400 Received: from mail-qk0-f169.google.com ([209.85.220.169]:36342 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbbERJ2r (ORCPT ); Mon, 18 May 2015 05:28:47 -0400 MIME-Version: 1.0 In-Reply-To: <20150517055551.GB17002@gmail.com> References: <20150410121808.GA19918@gmail.com> <20150517055551.GB17002@gmail.com> From: Denys Vlasenko Date: Mon, 18 May 2015 11:28:25 +0200 Message-ID: Subject: Re: [tip:x86/asm] x86: Pack function addresses tightly as well To: Ingo Molnar Cc: Linus Torvalds , Andy Lutomirski , Davidlohr Bueso , Peter Anvin , Denys Vlasenko , Linux Kernel Mailing List , Tim Chen , Borislav Petkov , Peter Zijlstra , "Chandramouleeswaran, Aswin" , Peter Zijlstra , Brian Gerst , Paul McKenney , Thomas Gleixner , Jason Low , "linux-tip-commits@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 622 Lines: 15 On Sun, May 17, 2015 at 7:58 AM, Ingo Molnar wrote: > With function packing, they compress into: > > ffffffff817f2458 T _raw_spin_unlock_irqrestore > ffffffff817f2463 T _raw_read_unlock_irqrestore So _raw_spin_unlock_irqrestore is only 11 bytes long? Sounds like it should have been inlined. Is this with CONFIG_OPTIMIZE_INLINES=y ? -- 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/