From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 7B3FD98F for ; Tue, 6 May 2014 02:15:05 +0000 (UTC) Received: from mail.zytor.com (terminus.zytor.com [198.137.202.10]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 446AB1FA9C for ; Tue, 6 May 2014 02:15:05 +0000 (UTC) Message-ID: <53684592.1020704@zytor.com> Date: Mon, 05 May 2014 19:14:42 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 To: "Bird, Tim" , Dave Jones , Josh Triplett References: <20140502164438.GA1423@jtriplet-mobl1>, <20140502171103.GA725@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sarah Sharp , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "al.stone@linaro.org" , Julia Lawall , Darren Hart , Dan Carpenter Subject: Re: [Ksummit-discuss] [CORE TOPIC] Kernel tinification: shrinking the kernel and avoiding size regressions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/05/2014 04:45 PM, Bird, Tim wrote: > - adding a kernel mechanism to eliminate any unused syscalls, at compile time > (using LTO, all I had to do was make the syscall unreachable, and the compiler > eliminated the calls automatically. Some of the work was removing parts of Andy Kleen's LTO > patches which prevented unreferenced code from being optimized out.) There is some irony here. -hpa