aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2018-05-25 14:47:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-05-25 18:12:11 -0700
commit6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c (patch)
treeb212e57df1c838d3d33598bf6f5908e4e36c7a6e /mm/memory_hotplug.c
parentmm: do not warn on offline nodes unless the specific node is explicitly requested (diff)
downloadlinux-dev-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.tar.xz
linux-dev-6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c.zip
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 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions