git: c3821149f425 - main - Drop space in "vm object" lock name to improve wchan

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 15 Feb 2023 13:32:40 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3821149f4252f087ba5133e20896ae4274f4da1

commit c3821149f4252f087ba5133e20896ae4274f4da1
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-02-15 13:31:17 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-02-15 13:31:17 +0000

    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
---
 sys/vm/vm_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 341c8aaec01a..be81ad4942a4 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -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;