tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: spl question



Maxime Villard <max%m00nbsd.net@localhost> 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: pgpuurnrCLjl_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index