aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2020-01-30 22:16:50 -0800
committerLinus Torvalds <[email protected]>2020-01-31 10:30:41 -0800
commit1f83d80677a24ae737fe0ab4008e7c72b8a33b35 (patch)
tree7a6ada15ce4f36e1b79ea262461bb06f9f02f880 /tools/perf/util/c++/clang-test.cpp
parent7dfaa98f646bbc29c3575bc184f2b37aa2dd62c5 (diff)
fs/binfmt_elf.c: smaller code generation around auxv vector fill
Filling auxv vector as array with index (auxv[i++] = ...) generates terrible code. "saved_auxv" should be reworked because it is the worst member of mm_struct by size/usefullness ratio but do it later. Meanwhile help gcc a little with *auxv++ idiom. Space savings on x86_64: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-127 (-127) Function old new delta load_elf_binary 5470 5343 -127 Link: http://lkml.kernel.org/r/20191208172301.GD19716@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions