aboutsummaryrefslogtreecommitdiff
path: root/lib/libsdp
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2010-08-16 14:24:00 +0000
committerAndre Oppermann <andre@FreeBSD.org>2010-08-16 14:24:00 +0000
commite49471b04b4bf0bfc58e2feeb0dd4208ea8f7c0d (patch)
tree53cc3f15371d15c1aca61a769565d66f1f460c83 /lib/libsdp
parent13852a6e15a94646e958471b91ea96a78b8b658c (diff)
downloadsrc-e49471b04b4bf0bfc58e2feeb0dd4208ea8f7c0d.tar.gz
src-e49471b04b4bf0bfc58e2feeb0dd4208ea8f7c0d.zip
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
Notes
Notes: svn path=/head/; revision=211396
Diffstat (limited to 'lib/libsdp')
0 files changed, 0 insertions, 0 deletions