netdev
[Top] [All Lists]

Re: [patch 12/18] net/sb1000: replace nicedelay() with msleep_interrup

To: janitor@xxxxxxxxxxxxxx
Subject: Re: [patch 12/18] net/sb1000: replace nicedelay() with msleep_interruptible()
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Sun, 31 Oct 2004 06:05:15 -0500
Cc: netdev@xxxxxxxxxxx, nacc@xxxxxxxxxx
In-reply-to: <E1CO1w1-0002Uj-Hm@sputnik>
References: <E1CO1w1-0002Uj-Hm@sputnik>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
janitor@xxxxxxxxxxxxxx wrote:
Any comments would be appreciated.

Description: Use msleep_interruptible() instead of nicedelay()
to guarantee the task delays as expected. Remove the prototype and
definition of nicedelay(). This is a very weird function, because it is
called to sleep in terms of usecs, but always sleeps for 1 second,
completely ignoring the parameter. I have gone ahead and followed suit,
just sleeping for a second in all cases, but maybe someone with the
hardware could tell me if perhaps the paramter *should* matter.
Also remove a random "^L" character.

use ssleep() here too



<Prev in Thread] Current Thread [Next in Thread>