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 901BB3C6 for ; Wed, 14 May 2014 01:04:11 +0000 (UTC) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 94800201A9 for ; Wed, 14 May 2014 01:04:09 +0000 (UTC) Date: Wed, 14 May 2014 09:04:02 +0800 (SGT) From: Julia Lawall To: "Bird, Tim" In-Reply-To: Message-ID: References: <20140502164438.GA1423@jtriplet-mobl1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Sarah Sharp , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "Alan@signal11.us" , 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: , > One prime example of this would be the "static-ification" of DT, e.g. > replacing calls to lookup DT info with constants (via macros or some other > source replacement trick), so that we can leverage the compiler's > optimizations for constant propagation and dead code removal. Could Coccinelle help with this somehow? The requirement would be that there is some pattern that can be recognized, and the desired change is static, ie a modification in the source code. julia