summaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2016-10-11 22:51:32 +0200
committerLinus Torvalds2016-10-12 00:06:30 +0200
commit8cfd56d4790423499d03f09f8584e0c6de494ec7 (patch)
tree214e9634190641a501cab0393580394a3b4f7eb9 /lib/bitmap.c
parentinclude/linux/ctype.h: make isdigit() table lookupless (diff)
downloadkernel-qcow2-linux-8cfd56d4790423499d03f09f8584e0c6de494ec7.tar.gz
kernel-qcow2-linux-8cfd56d4790423499d03f09f8584e0c6de494ec7.tar.xz
kernel-qcow2-linux-8cfd56d4790423499d03f09f8584e0c6de494ec7.zip
lib/kstrtox.c: smaller _parse_integer()
Set "overflow" bit upon encountering it instead of postponing to the end of the conversion. Somehow gcc unwedges itself and generates better code: $ ./scripts/bloat-o-meter ../vmlinux-000 ../obj/vmlinux _parse_integer 177 139 -38 Inspired by patch from Zhaoxiu Zeng. Link: http://lkml.kernel.org/r/20160826221920.GA1909@p183.telecom.by Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions