From: Ravikiran G Thirumalai Date: Thu, 23 Mar 2006 11:00:13 +0000 (-0800) Subject: [PATCH] Avoid taking global tasklist_lock for single threadedprocess at getrusage() X-Git-Tag: v2.6.17-rc1~1063 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e;p=pandora-kernel.git [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 Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed