CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2015/09/06 14:58:14

Modified files:
        sys/kern       : subr_pool.c 

Log message:
We no longer need to grab the kernel lock for allocating and freeing pages
in the (default) single page pool backend allocator.  This means it is now
safe to call pool_get(9) and pool_put(9) for "small" items while holding
a mutex without holding the kernel lock as well as these functions will
no longer acquire the kernel lock under any circumstances.  For "large" items
(where large is larger than 1/8th of a page) this still isn't safe though.

ok dlg@

Reply via email to