summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2018-05-26 00:47:50 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-05-26 04:12:11 +0300
commit6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c (patch)
treeb212e57df1c838d3d33598bf6f5908e4e36c7a6e /Makefile
parent8addc2d00fe171c89b5fcbafe583c2b90574d301 (diff)
downloadlinux-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.tar.xz
proc: fix smaps and meminfo alignment
The 4.17-rc /proc/meminfo and /proc/<pid>/smaps look ugly: single-digit numbers (commonly 0) are misaligned. Remove seq_put_decimal_ull_width()'s leftover optimization for single digits: it's wrong now that num_to_str() takes care of the width. Link: http://lkml.kernel.org/r/alpine.LSU.2.11.1805241554210.1326@eggly.anvils Fixes: d1be35cb6f96 ("proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps") Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Andrei Vagin <avagin@openvz.org> Cc: 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 'Makefile')
0 files changed, 0 insertions, 0 deletions