]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change uma_zone_set_max to return the effective value of "nitems" after
authorlstewart <lstewart@FreeBSD.org>
Sat, 16 Oct 2010 04:41:45 +0000 (04:41 +0000)
committerlstewart <lstewart@FreeBSD.org>
Sat, 16 Oct 2010 04:41:45 +0000 (04:41 +0000)
commit4171305db05f156ab87a3defcf51d7f72e73552e
tree74db4911c126c78f6a9eca1da53dccbe39d2d84b
parent2770ad22da37ff641831366d79c70e90f0c0c858
Change uma_zone_set_max to return the effective value of "nitems" after
rounding. The same value can also be obtained with uma_zone_get_max, but this
change avoids a caller having to make two back-to-back calls.

Sponsored by: FreeBSD Foundation
Reviewed by: gnn, jhb
share/man/man9/zone.9
sys/vm/uma.h
sys/vm/uma_core.c