curproc access isn't necessarily as cheap as a local variable access,
authorderaadt <deraadt@openbsd.org>
Tue, 19 Dec 2017 16:41:43 +0000 (16:41 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 19 Dec 2017 16:41:43 +0000 (16:41 +0000)
commit3b07b489473d508aa238393c6ea8b51dc122ebfe
tree2261390fdd4854c508729d5c35e792f7b1ac029c
parent039206c66e1ba3018832aed6de439ca712b1751d
curproc access isn't necessarily as cheap as a local variable access,
so only get it once
ok guenther
sys/kern/sys_futex.c