Hi all, I'm so sorry, please ignore this patch set! I have realized that there is no this problem in our kernel. Preempt_schedule() has set PREEMPT_ACTIVE before calling __schedule() and __schedule will check it if current state is not TASK_RUNNING, avoiding this preemption.
Libin On 2013/8/29 21:57, Libin wrote: > 1)Problem Description: > The prototype of invalid wakeup problem is as follows: > ======================================================================== > ---------------------------- > Consumer Thread > ---------------------------- > ... -- 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/