]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Simplify implementation of uma_zone_get_max.
authorlstewart <lstewart@FreeBSD.org>
Sat, 16 Oct 2010 04:14:45 +0000 (04:14 +0000)
committerlstewart <lstewart@FreeBSD.org>
Sat, 16 Oct 2010 04:14:45 +0000 (04:14 +0000)
commit2770ad22da37ff641831366d79c70e90f0c0c858
tree60814622ef6a50dfe36a1c033e23281a8d0a66fa
parent86cfb1d139775d0e932f69a5c2c6bc4b7269ec4b
- Simplify implementation of uma_zone_get_max.
- Add uma_zone_get_cur which returns the current approximate occupancy of
  a zone. This is useful for providing stats via sysctl amongst other things.

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