Hello, again. On Thu, Aug 29, 2013 at 10:08:13PM +0800, Libin wrote: ... > static void simulate_preempted(void) > { > schedule(); > }
Gees... of course, your test code will stall. Preemption != schedule(). Please take a look at PREEMPT_ACTIVE handling in __schedule(). Thanks. -- tejun -- 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/