diff options
| author | Andrew Morton <[email protected]> | 2008-10-15 22:01:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:31 -0700 |
| commit | 9679e4dd628743b9ef4375d60ae69923c3766173 (patch) | |
| tree | 03d491b6dbcc66079d4015c585f156fc4d94c2ea /tools/perf/scripts/python | |
| parent | 87988815073918134c0dae059cf247a4472d78ed (diff) | |
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 <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Acked-by: "Serge E. Hallyn" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions