Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Oct 2010 20:58:38 -0500
From:      Alan Cox <alc@rice.edu>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r213527 - head/sys/kern
Message-ID:  <4CAE7ACE.1020005@rice.edu>
In-Reply-To: <201010071811.o97IBXOO048985@svn.freebsd.org>
References:  <201010071811.o97IBXOO048985@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CAE7ACE.1020005>