Push down the KERNEL_LOCK/KERNEL_UNLOCK calls into the back-end allocator functions.  Note that these calls are deliberately not added to the special-purpose back-end allocators in the various pmaps.  Those allocators either don't need to grab the kernel lock, are always called with the kernel lock already held, or are only used on non-MULTIPROCESSOR platforms.
Push down the KERNEL_LOCK/KERNEL_UNLOCK calls into the back-end allocator
functions.  Note that these calls are deliberately not added to the
special-purpose back-end allocators in the various pmaps.  Those allocators
either don't need to grab the kernel lock, are always called with the kernel
lock already held, or are only used on non-MULTIPROCESSOR platforms.

pk tedu@, deraadt@, dlg@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars