Skip to content

Commit f850c84

Browse files
yosrym93akpm00
authored andcommitted
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: ebc97a5 ("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>
1 parent 359a5e1 commit f850c84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/proc/meminfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
115115
#endif
116116
show_val_kb(m, "PageTables: ",
117117
global_node_page_state(NR_PAGETABLE));
118-
show_val_kb(m, "SecPageTables: ",
118+
show_val_kb(m, "SecPageTables: ",
119119
global_node_page_state(NR_SECONDARY_PAGETABLE));
120120

121121
show_val_kb(m, "NFS_Unstable: ", 0);

0 commit comments

Comments
 (0)