diff options
| author | Alexey Dobriyan <[email protected]> | 2016-10-11 13:51:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-10-11 15:06:30 -0700 |
| commit | 8cfd56d4790423499d03f09f8584e0c6de494ec7 (patch) | |
| tree | 214e9634190641a501cab0393580394a3b4f7eb9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1204c77f9b6ab8ba8cc6cfe00342f5e64a740cdf (diff) | |
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/[email protected]
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions