mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
18dc12bfd2
commit
d1b6fef075
1 changed files with 0 additions and 2 deletions
|
|
@ -583,8 +583,6 @@ soaio_init(void)
|
|||
mtx_init(&soaio_jobs_lock, "soaio jobs", NULL, MTX_DEF);
|
||||
soaio_kproc_unr = new_unrhdr(1, INT_MAX, NULL);
|
||||
TASK_INIT(&soaio_kproc_task, 0, soaio_kproc_create, NULL);
|
||||
if (soaio_target_procs > 0)
|
||||
taskqueue_enqueue(taskqueue_thread, &soaio_kproc_task);
|
||||
}
|
||||
SYSINIT(soaio, SI_SUB_VFS, SI_ORDER_ANY, soaio_init, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue