Files
android_kernel_xiaomi_sm8450/kernel
Eric W. Biederman 48e6484d49 [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>
2006-06-26 09:58:24 -07:00
..
2006-06-26 09:58:16 -07:00
2005-04-16 15:20:36 -07:00
2006-03-26 08:57:03 -08:00
2005-10-30 17:37:32 -08:00
2005-10-08 15:00:57 -07:00
2006-06-26 09:58:22 -07:00
2006-06-25 10:01:13 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:15 -07:00
2006-04-19 16:27:18 -07:00
2005-04-16 15:20:36 -07:00