svn commit: r268711 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Tue Jul 15 19:49:01 UTC 2014


Author: kib
Date: Tue Jul 15 19:49:00 2014
New Revision: 268711
URL: http://svnweb.freebsd.org/changeset/base/268711

Log:
  Change the calculation of the kinfo_vmentry field kve_private_resident
  to reflect its name.
  
  Noted and reviewed by:	alc
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/kern/kern_proc.c

Modified: head/sys/kern/kern_proc.c
==============================================================================
--- head/sys/kern/kern_proc.c	Tue Jul 15 19:46:37 2014	(r268710)
+++ head/sys/kern/kern_proc.c	Tue Jul 15 19:49:00 2014	(r268711)
@@ -2182,7 +2182,7 @@ kern_proc_vmmap_out(struct proc *p, stru
 				VM_OBJECT_RLOCK(tobj);
 				lobj = tobj;
 			}
-			if (obj->shadow_count == 1)
+			if (obj->backing_object == NULL)
 				kve->kve_private_resident =
 				    obj->resident_page_count;
 			if (vmmap_skip_res_cnt)


More information about the svn-src-head mailing list