aboutsummaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorGravatar Yosry Ahmed <yosryahmed@google.com> 2022-11-17 04:32:47 +0000
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2022-11-22 18:50:44 -0800
commitf850c84948ef2d4f5e11fd8e528c2ac3b3c3d9c4 (patch)
treee10bfc79fc09f8c973bcdb78da6b8a2453b44e8b /fs/proc
parentmm: multi-gen LRU: retry folios written back while isolated (diff)
downloadlinux-f850c84948ef2d4f5e11fd8e528c2ac3b3c3d9c4.tar.gz
linux-f850c84948ef2d4f5e11fd8e528c2ac3b3c3d9c4.tar.bz2
linux-f850c84948ef2d4f5e11fd8e528c2ac3b3c3d9c4.zip
proc/meminfo: fix spacing in SecPageTables
SecPageTables has a tab after it instead of a space, this can break fragile parsers that depend on spaces after the stat names. Link: https://lkml.kernel.org/r/20221117043247.133294-1-yosryahmed@google.com Fixes: ebc97a52b5d6cd5f ("mm: add NR_SECONDARY_PAGETABLE to count secondary page table uses.") Signed-off-by: Yosry Ahmed <yosryahmed@google.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Shakeel Butt <shakeelb@google.com> Cc: David Hildenbrand <david@redhat.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Sean Christopherson <seanjc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/meminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
index 5101131e6047..440960110a42 100644
--- a/fs/proc/meminfo.c
+++ b/fs/proc/meminfo.c
@@ -115,7 +115,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
#endif
show_val_kb(m, "PageTables: ",
global_node_page_state(NR_PAGETABLE));
- show_val_kb(m, "SecPageTables: ",
+ show_val_kb(m, "SecPageTables: ",
global_node_page_state(NR_SECONDARY_PAGETABLE));
show_val_kb(m, "NFS_Unstable: ", 0);