Re: sched_setscheduler() vs idle_balance() race

From: Mike Galbraith
Date: Thu May 28 2015 - 10:54:40 EST


On Thu, 2015-05-28 at 15:53 +0200, Peter Zijlstra wrote:

> Say, how easy can that thing be reproduced?

It doesn't seem to take the reporter very long to blow their box up.
What they're doing must be pretty darn uncommon though.

I have the source to a test application, no destructions to go with it
though, and little time to play around. It has to be installed and
whatnot, it's not the desired make-it-go-boom.c.

> The below is compile tested only, but it might just work if I didn't
> miss anything :-)

I'll take it for a spin, and take a peek at the application.

-Mike

--
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/