On Tue, May 07, 2013 at 03:51:14PM +0800, Alex Shi wrote: > On 05/03/2013 03:55 PM, Alex Shi wrote: > > > >> That should probably look like: > >> > >> preempt_disable(); > >> raw_spin_unlock_irq(); > >> preempt_enable_no_resched(); > >> schedule(); > >> > >> Otherwise you might find a performance regression on PREEMPT=y kernels. > > > > Yes, right! > > Thanks a lot for reminder. The following patch will fix it. > >> > > Peter, would you like to pick this patch?
There's this huge series from walken that touches the same code.. I'll wait to see what happens with that. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

