Re: [patch 3/3] [PATCH] prctl: Add PR_SET_MM codes to set upmm_struct entires v3

From: Cyrill Gorcunov
Date: Mon Dec 12 2011 - 17:05:22 EST


On Tue, Dec 13, 2011 at 02:01:32AM +0400, Cyrill Gorcunov wrote:
...
> >
> > This may not be true of all compiler versions, but when I cache
> > current->mm in a local, the code size is reduced rather a lot:
> >
> > akpm:/usr/src/25> size kernel/sys.o
> > text data bss dec hex filename
> > 22685 14376 7616 44677 ae85 kernel/sys.o
> > 22489 14376 7616 44481 adc1 kernel/sys.o
> >
>
> Hmm, this is great and weird. Letme try...
>

Same here (gcc version 4.6.2 20111027)

text data bss dec hex filename
20829 14376 5736 40941 9fed kernel/sys.o
20682 14376 5736 40794 9f5a kernel/sys.o

thanks Andrew!

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/