kernel thread as real threads..
des at des.no
Mon Jan 23 14:57:24 PST 2006
Julian Elischer <julian at elischer.org> writes:
> However I would like to suggest that we change the way that aio
> My suggestion is that when a process does AIO, that we "fork a
> ksegroup" and attach it to the process, and assign it a (or some)
> worker thread to do the aio work. The userland process would be
> oblivious of the extra (kernel) threads in that kseg and they would
> be independently schedulable. They would however automatically have
> full access to the correct address space.
Agreed. This would actually greatly simplify the aio code (getting
rid of all the vm monkeying), and reduce the likelihood of future
security or stability issues with it.
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current