summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-04-11 01:34:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 19:28:36 +0200
commit0965232035cfa59a64d197cf8a8ee0bc407bb3e4 (patch)
treef6c65bb356de0d962666185d7d4435b9afe76861 /init/main.c
parentfs/reiserfs/journal.c: add missing resierfs_warning() arg (diff)
downloadlinux-0965232035cfa59a64d197cf8a8ee0bc407bb3e4.tar.xz
linux-0965232035cfa59a64d197cf8a8ee0bc407bb3e4.zip
seq_file: allocate seq_file from kmem_cache
For fine-grained debugging and usercopy protection. Link: http://lkml.kernel.org/r/20180310085027.GA17121@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Glauber Costa <glommer@gmail.com> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 50359a3162d0..b795aa341a3a 100644
--- a/init/main.c
+++ b/init/main.c
@@ -715,6 +715,7 @@ asmlinkage __visible void __init start_kernel(void)
vfs_caches_init();
pagecache_init();
signals_init();
+ seq_file_init();
proc_root_init();
nsfs_init();
cpuset_init();