Re: 2.6.8-rc3-mm2

William Lee Irwin III
2004-08-10T11:53:28Z

On Tue, Aug 10, 2004 at 02:00:51AM -0700, William Lee Irwin III wrote:
>>> It deadlocks with or without the fork_idle() call being via keventd;
>>> the printk change is what makes the difference. =(

On Tue, Aug 10, 2004 at 02:38:31AM -0700, William Lee Irwin III wrote:
>> Okay, it deadlocks with both mdelay(1000) and yield() in place of the
>> printk(). Trying manual calls to schedule() and local_irq_enable() next.

On Tue, Aug 10, 2004 at 03:02:34AM -0700, William Lee Irwin III wrote:
> Replacing the printk() with either of the following two things didn't work:
> (a) yield();
> (b) local_irq_enable(); set_current_state(TASK_RUNNING); schedule();

Okay, these also failed as replacements for printk():
(c) local_irq_enable();
(d) local_irq_enable(); set_current_state(TASK_RUNNING);
schedule(); mdelay(1000);
(e) local_irq_enable(); set_current_state(TASK_RUNNING);
for (i = 0; i < 1000; ++i) mdelay(1);
set_current_state(TASK_RUNNING); schedule();

-- wli