lkml.org 
[lkml]   [2008]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] x86: setup code_bytes - use mask to restrict it's size
Cyrill Gorcunov wrote:
> This patch strips off 8 bytes from text section. Not a really
> big advantage (especially for __init section). It seems 8192
> bytes of disassembled code is rare used anyway.
>
> before:
> text data bss dec hex filename
> 9900 176 20 10096 2770 arch/x86/kernel/traps_64.o.old
> after:
> text data bss dec hex filename
> 9892 176 20 10088 2768 arch/x86/kernel/traps_64.o
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> ---
>
> If there is no benefit at all - just drop the patch.
> Any comments are welcome ;)

I don't think this is the behaviour we want (wrapping around); worse, if
people enter a larger power of two they will get zero.

So NAK on this patch, IMO.

-hpa


\
 
 \ /
  Last update: 2008-02-02 23:27    [W:0.445 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site