[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: sched_setscheduler() vs idle_balance() race
On Sat, May 30, 2015 at 03:08:26PM +0200, Mike Galbraith wrote:

> Seems trying to make the target invisible to balancing created a new
> race: dequeue target, do stuff that may drop rq->lock while it's
> dequeued, target sneaks into schedule(), dequeues itself (#2), boom.

Aw god yes, duh.

Fun little puzzle this. Lemme go think a bit.

 \ /
  Last update: 2015-06-01 10:41    [W:0.142 / U:10.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site