Home
last modified time | relevance | path

Searched hist:"6 e66b52b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/proc/
H A Dbase.c6e66b52b Mon Jun 26 02:25:47 CDT 2006 Eric W. Biederman <ebiederm@xmission.com> [PATCH] proc: Fix the link count for /proc/<pid>/task

Use getattr to get an accurate link count when needed. This is cheaper and
more accurate than trying to derive it by walking the thread list of a
process.

Especially as it happens when needed stat instead of at readdir time.

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>
6e66b52b Mon Jun 26 02:25:47 CDT 2006 Eric W. Biederman <ebiederm@xmission.com> [PATCH] proc: Fix the link count for /proc/<pid>/task

Use getattr to get an accurate link count when needed. This is cheaper and
more accurate than trying to derive it by walking the thread list of a
process.

Especially as it happens when needed stat instead of at readdir time.

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>