Maxime Villard <[email protected]> writes:

> What happens if the kernel calls splx(s) twice? And what happens if it
> forgets to call splx(s)? Like:
>
>       s = splnet();
>
>       [...] NOT RELATED TO S
>
>       return;   NO SPLX(S)

splx(s) twice (with the same s, saved from a single splnet) is probably
not a real problem.   Not calling splx(s) will lead to elevated priority
for way longer than it should, and is quite bad.

Attachment: pgp4IE9f_VCje.pgp
Description: PGP signature

Reply via email to