diff options
author | Ravikiran G Thirumalai <kiran@scalex86.org> | 2006-03-23 12:00:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 16:38:09 +0100 |
commit | 2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e (patch) | |
tree | 17518ebe86c2b701aa4a74fcac025c1793a87a87 /drivers/cdrom/cdrom.c | |
parent | [PATCH] Shrinks sizeof(files_struct) and better layout (diff) | |
download | linux-2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e.tar.xz linux-2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e.zip |
[PATCH] Avoid taking global tasklist_lock for single threadedprocess at getrusage()
Avoid taking the global tasklist_lock when possible, if a process is single
threaded during getrusage(). Any avoidance of tasklist_lock is good for
NUMA boxes (and possibly for large SMPs). Thanks to Oleg Nesterov for
review and suggestions.
Signed-off-by: Nippun Goel <nippung@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/cdrom/cdrom.c')
0 files changed, 0 insertions, 0 deletions