summaryrefslogtreecommitdiffstats
path: root/fs/proc/task_nommu.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2019-03-06 00:50:35 +0100
committerLinus Torvalds2019-03-06 06:07:22 +0100
commit08b55775133b77acc9975ad772b41813cbfea674 (patch)
treedff7ed19a175cbe8c8cf2d0e3bf17285c9ccec06 /fs/proc/task_nommu.c
parentproc: read kernel cpu stat pointer once (diff)
downloadkernel-qcow2-linux-08b55775133b77acc9975ad772b41813cbfea674.tar.gz
kernel-qcow2-linux-08b55775133b77acc9975ad772b41813cbfea674.tar.xz
kernel-qcow2-linux-08b55775133b77acc9975ad772b41813cbfea674.zip
proc: use seq_puts() everywhere
seq_printf() without format specifiers == faster seq_puts() Link: http://lkml.kernel.org/r/20190114200545.GC9680@avx2 Signed-off-by: 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 'fs/proc/task_nommu.c')
-rw-r--r--fs/proc/task_nommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
index 0b63d68dedb2..3b7e310297d2 100644
--- a/fs/proc/task_nommu.c
+++ b/fs/proc/task_nommu.c
@@ -178,7 +178,7 @@ static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma)
seq_file_path(m, file, "");
} else if (mm && is_stack(vma)) {
seq_pad(m, ' ');
- seq_printf(m, "[stack]");
+ seq_puts(m, "[stack]");
}
seq_putc(m, '\n');