Re: kernel thread as real threads..

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 23 Jan 2006 23:35:42 +0100
Julian Elischer <julian_at_elischer.org> writes:
> However I would like to suggest that we change the way that aio
> works..
>
> 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.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Jan 23 2006 - 21:57:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC