Re: PROBLEM: Bug in __pollwait() can cause select() and poll() to

Linus Torvalds (torvalds@osdl.org)
Mon, 30 Jun 2003 21:17:12 -0700 (PDT)


On Tue, 1 Jul 2003, Rusty Russell wrote:
>
> Linus? See thread below: poll_wait is called with task state !=
> TASK_RUNNING, but can do a yield on low memory, causing eternal hangs.

Hint: 2.5.x does not have this problem, because the yield() in 2.5.x isn't
buggy.

So the proper fix is to just fix yield() on 2.4.x.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/