summaryrefslogtreecommitdiffstats
path: root/samples/configfs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2020-01-30 22:16:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 10:30:41 -0800
commit1f83d80677a24ae737fe0ab4008e7c72b8a33b35 (patch)
tree7a6ada15ce4f36e1b79ea262461bb06f9f02f880 /samples/configfs
parent7dfaa98f646bbc29c3575bc184f2b37aa2dd62c5 (diff)
downloadlinux-1f83d80677a24ae737fe0ab4008e7c72b8a33b35.tar.bz2
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 <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/configfs')
0 files changed, 0 insertions, 0 deletions