Re: [PATCH] dynamic_debug: Remove unnecessary __used

From: Joe Perches
Date: Thu Oct 18 2012 - 15:59:43 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at