Print the entry address in addition to the object. The variable is
typically optimized out and debuggers cannot find its value. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
4f412b06fd
commit
3d95614f9d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265824
@ -1949,7 +1949,8 @@ vm_map_protect(vm_map_t map, vm_offset_t start, vm_offset_t end,
|
||||
* charged clipped mapping of the same object later.
|
||||
*/
|
||||
KASSERT(obj->charge == 0,
|
||||
("vm_map_protect: object %p overcharged\n", obj));
|
||||
("vm_map_protect: object %p overcharged (entry %p)",
|
||||
obj, current));
|
||||
if (!swap_reserve(ptoa(obj->size))) {
|
||||
VM_OBJECT_WUNLOCK(obj);
|
||||
vm_map_unlock(map);
|
||||
|
Loading…
Reference in New Issue
Block a user