lkml.org 
[lkml]   [2005]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: msleep_interruptible() in ethtool ioctl and keyboard input
> 
> 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.
-
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/

\
 
 \ /
  Last update: 2005-04-29 21:16    [from the cache]
©2003-2011 Jasper Spaans