lkml.org 
[lkml]   [1998]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: current->timeout = jiffies + ? -> schedule_timeout(?)
Linus Torvalds wrote:
>
> On Wed, 4 Nov 1998, Stephen Frost wrote:
> >
> > Is everything that does a 'current->timeout = jiffies + x;' obsolete and
> > needing to be redone as 'schedule_timeout(x);'?
>
> Yes. However, I've done some of it already. Sending me patches is still a
> good idea, though.
>
> The areas that I haven't done are mainly:
> - non-PC drivers
> - ISDN
> - cdrom drivers
> - some of the more special serial and parallel port drivers
>
> Thanks,
>

Btw, there's a certain amount of "schedule_timeout(<constant value>)",
even in generic drivers/subsystems. I think these should be looked at by
the appropriate maintainers and be replaced by HZ-relative values. Not
all archs use HZ=100.

Gruss,
Matthias

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.082 / U:2.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site