Searched hist:211396 (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.2-release/sys/vm/ | ||
H A D | uma.h | diff 211396 Mon Aug 16 14:33:00 MDT 2010 andre 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 |
H A D | uma_core.c | diff 211396 Mon Aug 16 14:33:00 MDT 2010 andre 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 |
Completed in 126 milliseconds