]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't create a dedicated session for each AIO kernel process.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 20:46:30 +0000 (20:46 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 20:46:30 +0000 (20:46 +0000)
commitf2e7f06a0de5a6f8f1cdf6e5f4b9b35f193eaa13
tree58ac9103968cbce603466606fa85ad5109cce0f6
parent557f75e54ae47df936c7de8fb97ec70c4180a5c0
Don't create a dedicated session for each AIO kernel process.

This code dates back to the initial AIO support and the commit log does
not explain why it is needed.  However, I cannot find anything in the
AIO code or the various file methods (fo_read/fo_write) that would change
behavior due to using a private session instead of proc0's session.

Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D4988
sys/kern/vfs_aio.c