aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-10-15 22:01:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:31 -0700
commit9679e4dd628743b9ef4375d60ae69923c3766173 (patch)
tree03d491b6dbcc66079d4015c585f156fc4d94c2ea /fs/compat.c
parentutsname: completely overwrite prior information (diff)
downloadlinux-dev-9679e4dd628743b9ef4375d60ae69923c3766173.tar.xz
linux-dev-9679e4dd628743b9ef4375d60ae69923c3766173.zip
kernel/sys.c: improve code generation
utsname() is quite expensive to calculate. Cache it in a local. text data bss dec hex filename before: 11136 720 16 11872 2e60 kernel/sys.o after: 11096 720 16 11832 2e38 kernel/sys.o Acked-by: Vegard Nossum <vegard.nossum@gmail.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: "Serge E. Hallyn" <serue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions