svn commit: r213527 - head/sys/kern

Alan Cox alc at rice.edu
Fri Oct 8 01:58:41 UTC 2010


Andriy Gapon wrote:
> Author: avg
> Date: Thu Oct  7 18:11:33 2010
> New Revision: 213527
> URL: http://svn.freebsd.org/changeset/base/213527
>
> Log:
>   vm.kmem_map_size: a sysctl to query current kmem_map->size
>   
>   Based on a patch from Sandvine Incorporated via emaste.
>   
>   

You might, in fact, find kmem_map->root->max_free to be more useful.  
root->max_free is the size of the largest, contiguous range of unused 
virtual addresses in the map.

Alan




More information about the svn-src-head mailing list