Re: [PATCH 00/14] Fix bug about invalid wake up problem

From: Tejun Heo
Date: Thu Aug 29 2013 - 10:12:56 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/