Re: Linux Driver - Select Implementation!

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 26 Feb 1999 17:40:25 +0000 (GMT)


> of regular select()) To my naive mind it sounds like a way to avoid
> the thundering herd problem. Are there unforseen pitfalls in this, or is
> it more a matter of doing something nonstandard, or of the change requiring
> widespread kernel changes?

Doing wake_one() is non trivial anyway. But if you put the core 'wake_one'
stuff in place for the kernel then having a select_one() of some form
doesn't break select. Its probably not that useful - its unusual to have
a pile of daemons selecting on one thing with only one to wake - but yes
it does occur

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