fwd: Scheduler activations (IIRC) question

Dan Kegel <[email protected]>
Newsgroups gmane.comp.lib.phil,gmane.linux.kernel.aio.general
Message-ID <[email protected]>
Jamie Lokier is heading down the KSE / kernel activations
pathway because he still thinks kernel threads are wrong.
The discussion is under the subject "Scheduler activations (IIRC) question":

http://marc.theaimsgroup.com/?l=linux-kernel&m=106098891019055&w=2
"It isn't reasonable to make a kernel thread per userspace state
machine: I want less preemption than that implies, having more control
over locking contexts between the state machines than that.  And each
kernel thread uses a relatively large space, while the states are
quite small and it is reasonable to have a large number."

Maybe someone familiar with NPTL (or the drawbacks in NGPT) can straighten him out there?
I guess it'd be just as good to let him try to implement
scheduler activations with futexes.  It'd be a fun show.

http://marc.theaimsgroup.com/?l=linux-kernel&m=106110360515245&w=2
"As you can see, this achieves asynchronous system calls which are too
complex for aio(*), best use of the I/O elevator, and 100% CPU
utilisation doing useful calculations."

http://marc.theaimsgroup.com/?l=linux-kernel&m=106114511505661&w=2
"Plus AIO link(), unlink(), rename(), open() (especially open),
msync(), mlock(), mmap(), sendfile(), readdir(), readlink(), ioctl()
and a few more."

Maybe someone familiar with the state of AIO could comment?

Thanks,
Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.