> -----Original Message----- > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Sunday, November 30, 2014 12:14 AM > To: Ingo Molnar; Thomas Gleixner; linux-kernel@vger.kernel.org > Cc: Peter Zijlstra; Andy Lutomirski; Liu, Chuansheng > Subject: [PATCH urgent v2] sched: Add missing rcu protection to > wake_up_all_idle_cpus > > Locklessly doing is_idle_task(rq->curr) is only okay because of RCU > protection. The older variant of the broken code checked > rq->curr == rq->idle instead and therefore didn't need RCU. > > Fixes: f6be8af1c95d sched: Add new API wake_up_if_idle() to wake up the idle > cpu > Cc: Chuansheng Liu <chuansheng....@intel.com> > Signed-off-by: Andy Lutomirski <l...@amacapital.net> > --- Reviewed-by: Chuansheng Liu <chuansheng....@intel.com>
Thanks Andy. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/