lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] waitqueue optimization, 2.4.0-test7
On Mon, 28 Aug 2000, Ingo Molnar wrote:

>schedule_timeout() is a special case and is part of the 'scheduler
>subsystem'. Using wakeup_process() in that case is justified.

What I meant is that any module could need to implement a functionality of
the kind of schedule_timeout() for whatever reason. In an usage like
process_timeout() the use of wake_up_process() is the obviously right one,
thus I thought that it made sense to export wake_up_process() to a module
too. It must not be misused of course, but I don't exclude there could be
a legitimate case where it's more appropriate than using a waitqueue.

Andrea

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.141 / U:1.204 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site