diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 31636222e2bd..4d72ffba2b66 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -2182,7 +2182,7 @@ kern_proc_vmmap_out(struct proc *p, struct sbuf *sb) 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)