Messages in this thread | | | Subject | Re: [PATCH] dynamic_debug: Remove unnecessary __used | From | Joe Perches <> | Date | Thu, 18 Oct 2012 12:59:46 -0700 |
| |
On Thu, 2012-10-18 at 12:40 -0700, Greg KH wrote: > On Thu, Oct 18, 2012 at 12:07:03PM -0700, Joe Perches wrote: > > The __used attribute prevents gcc from eliminating > > unnecessary, otherwise optimized away, metadata for > > debugging logging messages. > > > > Remove the __used attribute. > > Very cool. Any idea how much space this saves?
Dunno, it's been a while since I did an allyesconfig on my netbook, my recollection is that was a few hundred kb.
https://lkml.org/lkml/2012/5/17/340
| |