[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130829141248.GC3985@htj.dyndns.org>
Date: Thu, 29 Aug 2013 10:12:48 -0400
From: Tejun Heo <tj@...nel.org>
To: Libin <huawei.libin@...wei.com>
Cc: akpm@...ux-foundation.org, viro@...iv.linux.org.uk,
eparis@...hat.com, tglx@...utronix.de, rusty@...tcorp.com.au,
ebiederm@...ssion.com, paulmck@...ux.vnet.ibm.com,
john.stultz@...aro.org, mingo@...hat.com, peterz@...radead.org,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
lizefan@...wei.com, jovi.zhangwei@...wei.com, guohanjun@...wei.com,
zhangdianfang@...wei.com, wangyijing@...wei.com
Subject: Re: [PATCH 00/14] Fix bug about invalid wake up problem
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists