Received: with ECARTIS (v1.0.0; list netdev); Thu, 02 Sep 2004 11:27:49 -0700 (PDT) Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.131]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id i82IRbEr028661 for ; Thu, 2 Sep 2004 11:27:43 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id i82IRMDD385518; Thu, 2 Sep 2004 14:27:22 -0400 Received: from arkanoid.beaverton.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i82IRLl9300046; Thu, 2 Sep 2004 12:27:21 -0600 Received: from arkanoid.beaverton.ibm.com (arkanoid [127.0.0.1]) by arkanoid.beaverton.ibm.com (8.13.1/8.13.1/Debian-6) with ESMTP id i82IRKjg002786; Thu, 2 Sep 2004 18:27:20 GMT Received: (from aravamud@localhost) by arkanoid.beaverton.ibm.com (8.13.1/8.13.1/Debian-6) id i82IRJaf002783; Thu, 2 Sep 2004 18:27:19 GMT X-Authentication-Warning: arkanoid.beaverton.ibm.com: aravamud set sender to nacc@us.ibm.com using -f Date: Thu, 2 Sep 2004 18:27:19 +0000 From: Nishanth Aravamudan To: Margit Schubert-While Cc: netdev@oss.sgi.com, janitor@sternwelten.at Subject: Re: [patch 8/8] prism54/islpci_dev: replace schedule_timeout() with msleep() Message-ID: <20040902182719.GD1944@us.ibm.com> References: <200409021952.18280.margitsw@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409021952.18280.margitsw@t-online.de> X-Operating-System: Linux 2.6.73 (i686) User-Agent: Mutt/1.5.6+20040803i X-archive-position: 8358 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: nacc@us.ibm.com Precedence: bulk X-list: netdev On Thu, Sep 02, 2004 at 07:52:18PM +0200, Margit Schubert-While wrote: > On Thu, 02 Sep 2004, Nishanth scribeth: > > Keep in mind that msleep_interruptible() is also > > (hopefully) being pushed to the kernel soon > > I think you need this for your current patch set ;-) > eg. In e100, where you replace an interruptible timeout: > > @@ -2020,8 +2016,7 @@ > > I don't think that's correct. The reasoning for me behind changing some of the TASK_INTERRUPTIBLE'd schedule_timeout()s to msleep()s was that LDD somewhat incorrectly advised device driver authors to use an INTERRUPTIBLE timeout for longer delays, when, in fact, they should probably use an UNINTERRUPTIBLE one. Only if signals are explicitly expected to occur is INTERRUPTIBLE necessary (in general). [By long delays, I mean those measurable in msecs] I am not an expert on the E100, so perhaps this was an error on my part. But this is also why I have a header on my patch submission regarding exactly this issue. If someone could verify (none of the maintainers I sent the original patch to did not reply with any problems for this patch) that there is or is not an issue, I'd appreciate it. -Nish