summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2008-12-29 09:39:50 -0500
committerGregory Haskins <ghaskins@novell.com>2008-12-29 09:39:50 -0500
commit777c2f389e463428fd7e2871051a84d7fe84b172 (patch)
treeba82f0105ba069ac6ba724f85f98144459e0c436 /kernel/sched.c
parent74ab8e4f6412c0b2d730fe5de28dc21de8b92c01 (diff)
downloadop-kernel-dev-777c2f389e463428fd7e2871051a84d7fe84b172.zip
op-kernel-dev-777c2f389e463428fd7e2871051a84d7fe84b172.tar.gz
sched: only try to push a task on wakeup if it is migratable
There is no sense in wasting time trying to push a task away that cannot move anywhere else. We gain no benefit from trying to push other tasks at this point, so if the task being woken up is non migratable, just skip the whole operation. This reduces overhead in the wakeup path for certain tasks. Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud