Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264795AbTGAEDD (ORCPT ); Tue, 1 Jul 2003 00:03:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265038AbTGAEDC (ORCPT ); Tue, 1 Jul 2003 00:03:02 -0400 Received: from air-2.osdl.org ([65.172.181.6]:10930 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264795AbTGAEDB (ORCPT ); Tue, 1 Jul 2003 00:03:01 -0400 Date: Mon, 30 Jun 2003 21:17:12 -0700 (PDT) From: Linus Torvalds To: Rusty Russell cc: Manfred Spraul , Ray Bryant , Kernel Mailing List , Andrew Morton , Andi Kleen , Alan Cox Subject: Re: PROBLEM: Bug in __pollwait() can cause select() and poll() to hang in 2.4.22-pre2 -- second try In-Reply-To: <20030701040105.2BCE42C22E@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 575 Lines: 19 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/