Date: Tue, 15 Jul 2014 19:49:01 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268711 - head/sys/kern Message-ID: <201407151949.s6FJn1kb065274@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407151949.s6FJn1kb065274>