]> err.no Git - linux-2.6/commit
[PATCH] simplify k_getrusage()
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:05:15 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:09 +0000 (20:14 -0800)
commit0f59cc4a35dbbc45c972daad0f1b063380cd9ea4
tree03cb2e69303e2ea3cca0f7eca6c7eb6c5a352e40
parent86f91d36c2aac910b7cf7e5d047019b10a9a627e
[PATCH] simplify k_getrusage()

Factor out common code for different RUSAGE_xxx cases.

Don't take ->sighand->siglock in RUSAGE_SELF case, suggested by Ravikiran G
Thirumalai <kiran@scalex86.org>.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c