Page MenuHomeFreeBSD

Don't create a dedicated session for each AIO kernel process.
ClosedPublic

Authored by jhb on Jan 18 2016, 10:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 23 2024, 9:48 PM
Unknown Object (File)
Nov 12 2024, 8:54 PM
Unknown Object (File)
Sep 28 2024, 4:36 AM
Unknown Object (File)
Sep 22 2024, 6:23 AM
Unknown Object (File)
Sep 21 2024, 7:34 AM
Unknown Object (File)
Sep 19 2024, 8:36 AM
Unknown Object (File)
Sep 17 2024, 8:19 AM
Unknown Object (File)
Sep 8 2024, 5:52 AM
Subscribers

Details

Summary

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.

Test Plan
  • Ran all of the aio tests in the test suite. No regressions.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Don't create a dedicated session for each AIO kernel process..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.

I think what could be different with the call is the handling of the SIGTTYIN/SIGTTYOUT conditions for terminal i/o. But I believe that aio daemons groups cannot be in background set for any terminal, regardless of whether they are in proc0 or its own group.

This revision is now accepted and ready to land.Jan 19 2016, 2:54 AM
This revision was automatically updated to reflect the committed changes.