]> git.hungrycats.org Git - linux/commit
[PATCH] sched: micro-optimisation for wake_up
authorAndrew Morton <akpm@osdl.org>
Mon, 10 May 2004 06:29:40 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 10 May 2004 06:29:40 +0000 (23:29 -0700)
commit25de09021d379a49a83f17b80fa638d95c94219a
treea867250bb26c6c94636659af65a7f5e114c86280
parent85841fc043bfac3ebecd9d3181b496a2dadc1283
[PATCH] sched: micro-optimisation for wake_up

From: Nick Piggin <nickpiggin@yahoo.com.au>

This actually does produce better code, especially under the locked
section.

Turns a conditional + unconditional jump under the lock in the unlikely
case into a cmov outside the lock.
kernel/sched.c