Re: TCP and NET_MPSAFE

Jason Thorpe <[email protected]> Sat, 2 May 2026 09:58:41 -0700
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
> On May 2, 2026, at 8:46=E2=80=AFAM, Jason Thorpe <[email protected]> =
wrote:
>=20
> If a platform really wanted to use hardware support as the scheduling =
trigger and had 2 hardware levels to throw at it, I would say:
>=20
>    clock > net =3D=3D serial >=3D bio >=3D gen
>=20
> I.e. clock always on top, net and serial always equal, and an =
opportunistic (or software-only) prioritization below that.  But I=E2=80=99=
m willing to be convinced otherwise if there=E2=80=99s a good argument =
for a different ordering.

BTW, by =E2=80=9Cnet and serial always equal=E2=80=9D I=E2=80=99m not =
saying they should be the same soft-interrupt thread; rather, they =
should be distinct threads with the same scheduler priority.

-- thorpej