Re: [PATCH] sched: fix rt-bandwidth hotplug race

From: Ingo Molnar
Date: Thu Aug 14 2008 - 09:51:45 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Subject: sched: fix rt-bandwidth hotplug race
> From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Date: Thu Aug 14 15:42:44 CEST 2008
>
> When we hot-unplug a cpu and rebuild the sched-domain, all cpus will be
> detatched. Alex observed the case where a runqueue was stealing bandwidth
> from an already disabled runqueue to satisfy its own needs.
>
> Stop this by skipping over already disabled runqueues.
>
> Reported-by: Alex Nixon <alex.nixon@xxxxxxxxxx>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Tested-by: Alex Nixon <alex.nixon@xxxxxxxxxx>

applied to tip/sched/urgent - thanks!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/