Re: kthread vs kproc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julian Elischer
Date: Saturday, October 20, 2007 - 2:00 pm

Johan Bucht wrote:

Aio actually needs to hook the user's address space into its own (it 
adds itself as a second user of the calling procesess's address space)
so it can do the IO easily.

As such it needs a separate process so that it can have an address space to 
do it with.

My suggested work-around is to make the AIO an invisible kernel thread attached 
to the process that does the IO. that way it automatically has the 
right address space to work on.




_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kthread vs kproc, Johan Bucht, (Sat Oct 20, 12:00 pm)
Re: kthread vs kproc, Julian Elischer, (Sat Oct 20, 2:00 pm)