From: Siddha, Suresh B Date: Tue, 8 May 2007 07:33:01 +0000 (-0700) Subject: sched: optimize siblings status check logic in wake_idle() X-Git-Tag: v2.6.22-rc1~577 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4953198b6ce07b008b0f1c2edd41c9d027a118b4;p=pandora-kernel.git sched: optimize siblings status check logic in wake_idle() When a logical cpu 'x' already has more than one process running, then most likely the siblings of that cpu 'x' must be busy. Otherwise the idle siblings would have likely(in most of the scenarios) picked up the extra load making the load on 'x' atmost one. Use this logic to eliminate the siblings status check and minimize the cache misses encountered on a heavily loaded system. Signed-off-by: Suresh Siddha Cc: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed