/*
* uvm_coredump_walkmap: walk a process's map for the purpose of dumping
* a core file.
* XXX: I'm not entirely sure the locking is this function is in anyway
* correct. If the process isn't actually stopped then the data passed
* to func() is at best stale, and horrid things might happen if the
* entry being processed is deleted (dsl).
*/