summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.hz
diff options
context:
space:
mode:
authorEric W. Biederman2006-06-26 09:25:48 +0200
committerLinus Torvalds2006-06-26 18:58:24 +0200
commit48e6484d49020dba3578ad117b461e8a391e8f0f (patch)
tree7824ca84bfe71c3fe2c09a1fedc31106fec4f500 /kernel/Kconfig.hz
parent[PATCH] proc: Move proc_maps_operations into task_mmu.c (diff)
downloadkernel-qcow2-linux-48e6484d49020dba3578ad117b461e8a391e8f0f.tar.gz
kernel-qcow2-linux-48e6484d49020dba3578ad117b461e8a391e8f0f.tar.xz
kernel-qcow2-linux-48e6484d49020dba3578ad117b461e8a391e8f0f.zip
[PATCH] proc: Rewrite the proc dentry flush on exit optimization
To keep the dcache from filling up with dead /proc entries we flush them on process exit. However over the years that code has gotten hairy with a dentry_pointer and a lock in task_struct and misdocumented as a correctness feature. I have rewritten this code to look and see if we have a corresponding entry in the dcache and if so flush it on process exit. This removes the extra fields in the task_struct and allows me to trivially handle the case of a /proc/<tgid>/task/<pid> entry as well as the current /proc/<pid> entries. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions