Drop space in "vm object" lock name to improve wchan
Lock names are shown in top as a `*` followed by the first five characters of the name. `*vmobj` a little more obvious and easier to search for than `*vm ob`. Differential Revision: https://reviews.freebsd.org/D36264
This commit is contained in:
parent
fe01817876
commit
c3821149f4
@ -216,7 +216,7 @@ vm_object_zinit(void *mem, int size, int flags)
|
||||
vm_object_t object;
|
||||
|
||||
object = (vm_object_t)mem;
|
||||
rw_init_flags(&object->lock, "vm object", RW_DUPOK | RW_NEW);
|
||||
rw_init_flags(&object->lock, "vmobject", RW_DUPOK | RW_NEW);
|
||||
|
||||
/* These are true for any object that has been freed */
|
||||
object->type = OBJT_DEAD;
|
||||
|
Loading…
x
Reference in New Issue
Block a user