]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] avoid tasklist_lock at getrusage for multithreaded case too
authorRavikiran G Thirumalai <kiran@scalex86.org>
Thu, 22 Jun 2006 21:47:26 +0000 (14:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 22 Jun 2006 22:05:57 +0000 (15:05 -0700)
commitde047c1bcd7f7bcfbdc29eb5b439fb332594da3f
treeff0d52044559971b8d68aaeb00fc7b6a876b3a3d
parentc89681ed7d0e4a61d35bdc12c06c6733b718b2cb
[PATCH] avoid tasklist_lock at getrusage for multithreaded case too

Avoid taking tasklist_lock for at getrusage for the multithreaded case too.
We don't need to take the tasklist lock for thread traversal of a process
since Oleg's do-__unhash_process-under-siglock.patch and related work.

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c