Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbaFNXgn (ORCPT ); Sat, 14 Jun 2014 19:36:43 -0400 Received: from terminus.zytor.com ([198.137.202.10]:34762 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbaFNXgl (ORCPT ); Sat, 14 Jun 2014 19:36:41 -0400 Message-ID: <539CDC6F.6010501@zytor.com> Date: Sat, 14 Jun 2014 16:36:15 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Andy Lutomirski , Rich Felker CC: Russ Cox , Linux API , Ian Taylor , "linux-kernel@vger.kernel.org" , X86 ML Subject: Re: [RFC 0/2] __vdso_findsym References: <20140614213000.GO179@brightrain.aerifal.cx> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14/2014 03:38 PM, Andy Lutomirski wrote: > > Hmm. I hadn't thought of this as a size win, but I guess it could be > if there are static binaries around. > That pretty much *is* the win, because this is in effect treating the kernel vdso as a shared library. > This patch currently generates 488 bytes on text with my toolchain. > More than half of that is garbage needed to deal with the symbol > version tables, and I should be able to move a decent fraction of it > to vdso2c and therefore out of the kernel and vdso images. Now, if we can do this without adding another page then that becomes much more compelling IMO. I suspect we can if you are already down to 488 bytes. -hpa -- 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/