[#] http://marc.info/?l=openbsd-cvs&m=140826900520138&w=2
openbsd-cvs(obsdave,2) — All
2014-08-17 13:55:08


Module name: src
Changes by: dlg@cvs.openbsd.org 2014/08/17 03:48:55

Modified files:
sys/kern : subr_extent.c

Log message:
i broke the userland shim used for the extent regress test when i
made it so struct pool was only visible to _KERNEL. tedu broke it
too when he added the size argument to the kernel free
functions.

this fixes both issues. the main change is to provide a local version of
struct pool with just the bit (pr_size) needed for extent to run.

if extents take advantage of more malloc/pool features (eg, {M,PR}_ZERO
then this will need to be updated again.

found by and based on a diff from Theo Buehler
ok mpi@