scheduler fixes
Subsystems (2)
Linus,
Please pull the latest sched-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus
# HEAD: 541676078b52f365f53d46ee5517d305cd1b6350 membarrier: Disable preemption when calling smp_call_function_many()
A Kconfig fix, a build fix and a membarrier bug fix.
Thanks,
Ingo
------------------>
Geert Uytterhoeven (1):
sched/isolation: Make CONFIG_CPU_ISOLATION=y depend on SMP or COMPILE_TEST
Mathieu Desnoyers (1):
membarrier: Disable preemption when calling smp_call_function_many()
Valentin Ilie (1):
ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
arch/ia64/kernel/time.c | 2 +- init/Kconfig | 1 + kernel/sched/membarrier.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-)
arch/ia64/kernel/time.c +1 -1
@@ -88,7 +88,7 @@ void vtime_flush(struct task_struct *tsk) }if (ti->softirq_time) { - delta = cycle_to_nsec(ti->softirq_time)); + delta =cycle_to_nsec (ti->softirq_time);account_system_index_time (tsk, delta,CPUTIME_SOFTIRQ ); }
init/Kconfig +1 -0
@@ -461,6 +461,7 @@ endmenu # "CPU/Task time and stats accounting" config CPU_ISOLATION bool "CPU isolation" + depends on SMP || COMPILE_TEST default y help Make sure that CPUs running critical tasks are not disturbed by
kernel/sched/membarrier.c +2 -0
@@ -89,7 +89,9 @@ static int membarrier_private_expedited(void)rcu_read_unlock (); }if (!fallback) { +preempt_disable ();smp_call_function_many (tmpmask, ipi_mb,NULL ,1 ); +preempt_enable ();free_cpumask_var (tmpmask); }cpus_read_unlock ();