freebsd-nq/sys/vm
Andre Oppermann e49471b04b Add uma_zone_get_max() to obtain the effective limit after a call
to uma_zone_set_max().

The UMA zone limit is not exactly set to the value supplied but
rounded up to completely fill the backing store increment (a page
normally).  This can lead to surprising situations where the number
of elements allocated from UMA is higher than the supplied limit
value.  The new get function reads back the effective value so that
the supplied limit value can be adjusted to the real limit.

Reviewed by:	jeffr
MFC after:	1 week
2010-08-16 14:24:00 +00:00
..
default_pager.c
device_pager.c
memguard.c Fix compile. It seemed better to have memguard.c include opt_vm.h in 2010-08-12 16:54:43 +00:00
memguard.h Fix compile. It seemed better to have memguard.c include opt_vm.h in 2010-08-12 16:54:43 +00:00
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c
swap_pager.h
uma_core.c Add uma_zone_get_max() to obtain the effective limit after a call 2010-08-16 14:24:00 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h Add uma_zone_get_max() to obtain the effective limit after a call 2010-08-16 14:24:00 +00:00
vm_contig.c
vm_extern.h
vm_fault.c
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c
vm_mmap.c
vm_object.c
vm_object.h
vm_page.c
vm_page.h
vm_pageout.c
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_reserv.c
vm_reserv.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c
vnode_pager.h