]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Stop creating socket aio kprocs during boot.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 12 Oct 2021 21:03:07 +0000 (14:03 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 12 Oct 2021 21:03:07 +0000 (14:03 -0700)
commitd1b6fef0751b70819e632d7d4722efbc8f94b80b
tree9b28094f37fff4518e061d34015501e0e0918ce1
parent18dc12bfd2e23ad2ea97db54cb8ee499f6f014da
Stop creating socket aio kprocs during boot.

Create the initial pool of kprocs on demand when the first socket AIO
request is submitted instead.  The pool of kprocs used for other AIO
requests is similarly created on first use.

Reviewed by: asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D32468
sys/kern/sys_socket.c