lkml.org 
[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched: RCU-protect __set_task_cpu() in set_task_cpu()
From
Date
On Sun, 2011-06-05 at 21:12 +0200, Oleg Nesterov wrote:
>
> WARN_ON_ONCE(debug_locks && !lockdep_is_held(p->on_rq ?
> &task_rq(p)->lock : &p->pi_lock))
>
> Not that I really suggest to change this WARN_ON(), I am just trying
> to recall the new rules.

I actually like that, so I tried it, we need to clean up some of the
fork() path hacks but it should be possible. Will try and remember for
the next release or so.


\
 
 \ /
  Last update: 2011-06-06 15:45    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site