svn commit: r312397 - in stable: 10/sys/vm 11/sys/vm
John Baldwin
jhb at FreeBSD.org
Wed Jan 18 22:40:24 UTC 2017
Author: jhb
Date: Wed Jan 18 22:40:22 2017
New Revision: 312397
URL: https://svnweb.freebsd.org/changeset/base/312397
Log:
MFC 310028: Use db_lookup_proc() in the DDB 'show procvm' command.
This allows processes to be identified by PID as well as a pointer address.
Modified:
stable/11/sys/vm/vm_map.c
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/vm/vm_map.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/11/sys/vm/vm_map.c
==============================================================================
--- stable/11/sys/vm/vm_map.c Wed Jan 18 22:10:18 2017 (r312396)
+++ stable/11/sys/vm/vm_map.c Wed Jan 18 22:40:22 2017 (r312397)
@@ -4313,7 +4313,7 @@ DB_SHOW_COMMAND(procvm, procvm)
struct proc *p;
if (have_addr) {
- p = (struct proc *) addr;
+ p = db_lookup_proc(addr);
} else {
p = curproc;
}
More information about the svn-src-stable
mailing list