| To: | Nish Aravamudan <nish.aravamudan@xxxxxxxxx> |
|---|---|
| Subject: | Re: msleep_interruptible() in ethtool ioctl and keyboard input |
| From: | Ganesh Venkatesan <ganesh.venkatesan@xxxxxxxxx> |
| Date: | Fri, 29 Apr 2005 12:07:12 -0700 |
| Cc: | "Venkatesan, Ganesh" <ganesh.venkatesan@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jSFz9PEnQTC747DK2g0+1STRS7kSq9XAV8pP3Q1wL2fmPMyEIjrgpqq8W662K3108NJEiLM6ZuIlUaMYuKQfOoXfFNTxmiyS6g7EyAhZgcPcncR5cz7CeUN8tNEn4jRhjmfrg9Q2v+3ZyYyJ69V4CT9ZHiqqis1Z5c65JcoaaTU= |
| In-reply-to: | <29495f1d050429114048da1847@xxxxxxxxxxxxxx> |
| References: | <468F3FDA28AA87429AD807992E22D07E05195E08@orsmsx408> <29495f1d050429114048da1847@xxxxxxxxxxxxxx> |
| Reply-to: | Ganesh Venkatesan <ganesh.venkatesan@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> > You really want this timer to go off immediately? > Yes. > Regardless.... > > > msleep_interruptible(data * 1000); > > Does the same issue occur if you revert this change and make it > > set_current_state(TASK_INTERRUPTIBLE); > schedule_timeout(data * HZ); > > ? No. The issue happens irrespective of whether it is msleep_interruptible or the set_current_state/schedule_timeout combo. ganesh. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Tulip interrupt uses non IRQ safe spinlock, Francois Romieu |
|---|---|
| Next by Date: | [PATCH 2.6.12-rc3] pcnet32: fix resource leak with loopback test, Don Fry |
| Previous by Thread: | Re: msleep_interruptible() in ethtool ioctl and keyboard input, Nish Aravamudan |
| Next by Thread: | [RESEND] [PATCH 2.6.11.7] sch_htb: Drop packet when direct queue is full, Asim Shankar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |