mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Removed cnt.v_nzfod: In our current scheme of things it is not possible
to accurately track this. It isn't an indicator of resource consumption anyway. Removed cnt.v_kernel_pages: We don't implement this and doing so accurately would be very difficult (and ambiguous - since process pages are often double mapped in the kernel and the process address spaces).
This commit is contained in:
parent
c27bd0ad13
commit
a34297995a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7346
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vmmeter.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id: vmmeter.h,v 1.7 1995/01/09 16:05:15 davidg Exp $
|
||||
* $Id: vmmeter.h,v 1.8 1995/02/22 18:06:49 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_VMMETER_H_
|
||||
@ -72,12 +72,10 @@ struct vmmeter {
|
||||
unsigned v_pfree; /* pages freed by exiting processes */
|
||||
unsigned v_tfree; /* total pages freed */
|
||||
unsigned v_zfod; /* pages zero filled on demand */
|
||||
unsigned v_nzfod; /* number of zfod's created */
|
||||
/*
|
||||
* Distribution of page usages.
|
||||
*/
|
||||
unsigned v_page_size; /* page size in bytes */
|
||||
unsigned v_kernel_pages;/* number of pages in use by kernel */
|
||||
unsigned v_page_count; /* total number of pages in system */
|
||||
unsigned v_free_reserved; /* number of pages reserved for deadlock */
|
||||
unsigned v_free_target; /* number of pages desired free */
|
||||
|
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_object.c,v 1.37 1995/03/22 12:24:10 davidg Exp $
|
||||
* $Id: vm_object.c,v 1.38 1995/03/23 05:19:44 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -151,7 +151,6 @@ _vm_object_allocate(size, object)
|
||||
simple_lock(&vm_object_list_lock);
|
||||
TAILQ_INSERT_TAIL(&vm_object_list, object, object_list);
|
||||
vm_object_count++;
|
||||
cnt.v_nzfod += atop(size);
|
||||
simple_unlock(&vm_object_list_lock);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user