waitqueues vs. wake_up_process

From: Michael Rothwell (rothwell@holly-springs.nc.us)
Date: Thu Aug 24 2000 - 15:02:01 EST


bdflush on 2.4 still uses wake_up_process, but Ingo said that kernel
threads should use waitqueues instead. We have a thread similar in
functionality to bdflush, but more suited to our needs, called jflush.
We use wake_up_process. Since the only documentation available for Linux
is typically the source, we thought this was the way to go. According to
Ingo, it's not. He has not eleborated.

Can some tell me the pros and cons of wake_up_process vs. waitqueues?

Also, will bdflush ("the documentation") be updated?

Thanks!

-M
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:14 EST