splassert on some archs (or just sparc64) check that you're not in
authordlg <dlg@openbsd.org>
Mon, 5 Jan 2015 23:54:18 +0000 (23:54 +0000)
committerdlg <dlg@openbsd.org>
Mon, 5 Jan 2015 23:54:18 +0000 (23:54 +0000)
commit5142c0024bb36e03f8cca49322fe84f7df8f3287
treeb9de1ece84c59d2c44b6978a91d9c6bb3a636072
parentb21486fbd2e3e92faf641998eea5017785273ed8
splassert on some archs (or just sparc64) check that you're not in
an interrupt handler at an ipl level higher than what you're
splasserting you should be at. if you think code should be protected
by IPL_BIO and its entered from an interrupt handler established
at IPL_NET, you have a bug.

add some asserts to gets and puts so we can pick those cases up.
sys/kern/subr_pool.c