Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
sched: Revert 738d2be, simplify set_task_cpu()

+4 -5
+4 -5
kernel/sched.c
··· 2045 2045 2046 2046 trace_sched_migrate_task(p, new_cpu); 2047 2047 2048 - if (task_cpu(p) == new_cpu) 2049 - return; 2050 - 2051 - p->se.nr_migrations++; 2052 - perf_sw_event(PERF_COUNT_SW_CPU_MIGRATIONS, 1, 1, NULL, 0); 2048 + if (task_cpu(p) != new_cpu) { 2049 + p->se.nr_migrations++; 2050 + perf_sw_event(PERF_COUNT_SW_CPU_MIGRATIONS, 1, 1, NULL, 0); 2051 + } 2053 2052 2054 2053 __set_task_cpu(p, new_cpu); 2055 2054 }