]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
GEOM: Relax direct dispatch for GEOM threads.
authorAlexander Motin <mav@FreeBSD.org>
Fri, 28 Jan 2022 19:12:29 +0000 (14:12 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Fri, 28 Jan 2022 19:21:21 +0000 (14:21 -0500)
commitffc1cc95e78ec05a3e1a0aed869e33a44d9f6641
tree4af7b04e719c42eb3a74197180c484ab15f50c5f
parent964b8f8b993d48f66a3d3b46a4cd67c1f6d1e326
GEOM: Relax direct dispatch for GEOM threads.

The only cases when direct dispatch does not make sense is for I/O
submission from down thread and for completion from up thread.  In
all other cases, if both consumer and producer are OK about it, we
can save on context switches.

MFC after: 2 weeks
sys/geom/geom_int.h
sys/geom/geom_io.c
sys/geom/geom_kern.c