path: root/fs/proc/internal.h
diff options
authorAlexey Dobriyan <>2018-04-10 16:31:09 -0700
committerLinus Torvalds <>2018-04-11 10:28:33 -0700
commit195b8cf0689554db764f459730c81f741887aa5f (patch)
treed7e0c603e5e87653a114c5be07ce8f21bb8bd0d9 /fs/proc/internal.h
parenta9fabc3df4c68e05f023c6a5189f0104e200beca (diff)
proc: move "struct pde_opener" to kmem cache
"struct pde_opener" is fixed size and we can have more granular approach to debugging. For those who don't know, per cache SLUB poisoning and red zoning don't work if there is at least one object allocated which is hopeless in case of kmalloc-64 but not in case of standalone cache. Although systemd opens 2 files from the get go, so it is hopeless after all. Link: Signed-off-by: Alexey Dobriyan <> Cc: Al Viro <> Cc: Kees Cook <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'fs/proc/internal.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 713d5dfe3f05..dc00ef8538cb 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -182,7 +182,7 @@ extern const struct inode_operations proc_link_inode_operations;
extern const struct inode_operations proc_pid_link_inode_operations;
-extern void proc_init_inodecache(void);
+void proc_init_kmemcache(void);
void set_proc_pid_nlink(void);
extern struct inode *proc_get_inode(struct super_block *, struct proc_dir_entry *);
extern int proc_fill_super(struct super_block *, void *data, int flags);