From: Paul Turner Date: Wed, 8 Apr 2009 22:29:43 +0000 (-0700) Subject: sched: remove redundant hierarchy walk in check_preempt_wakeup X-Git-Tag: v2.6.31-rc1~421^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=002f128b473fb82f454654be5081b0919ee01ab2;p=pandora-kernel.git sched: remove redundant hierarchy walk in check_preempt_wakeup Impact: micro-optimization Under group scheduling we traverse up until we are at common siblings to make the wakeup comparison on. At this point however, they should have the same parent so continuing to check up the tree is redundant. Signed-off-by: Paul Turner Acked-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed