From: Christoph Lameter Date: Thu, 23 Jun 2005 07:10:05 +0000 (-0700) Subject: [PATCH] Optimize sys_times for a single thread process X-Git-Tag: v2.6.13-rc4~130^2~31 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a2224d7d1cefc23a1ac80bba421cc069cc3257;p=pandora-kernel.git [PATCH] Optimize sys_times for a single thread process Avoid taking the tasklist_lock in sys_times if the process is single threaded. In a NUMA system taking the tasklist_lock may cause a bouncing cacheline if multiple independent processes continually call sys_times to measure their performance. Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed