aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-05-31 10:49:20 +0200
committerIngo Molnar <mingo@elte.hu>2011-05-31 14:19:57 +0200
commitf339b9dc1f03591761d5d930800db24bc0eda1e1 (patch)
tree901c78b6e8ccaf9e74515d176084c75389bc2832 /kernel/sched_rt.c
parentsched: Fix cross-cpu clock sync on remote wakeups (diff)
downloadlinux-dev-f339b9dc1f03591761d5d930800db24bc0eda1e1.tar.xz
linux-dev-f339b9dc1f03591761d5d930800db24bc0eda1e1.zip
sched: Fix schedstat.nr_wakeups_migrate
While looking over the code I found that with the ttwu rework the nr_wakeups_migrate test broke since we now switch cpus prior to calling ttwu_stat(), hence the test is always true. Cure this by passing the migration state in wake_flags. Also move the whole test under CONFIG_SMP, its hard to migrate tasks on UP :-) Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-pwwxl7gdqs5676f1d4cx6pj7@git.kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions