git: ba364342aeef - main - vm_object: Remove the kmem_object alias
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Sep 2025 07:56:41 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=ba364342aeef152f3dc486ff3d2ebd4d5a8dd677
commit ba364342aeef152f3dc486ff3d2ebd4d5a8dd677
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-09-24 14:03:16 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-09-27 07:56:08 +0000
vm_object: Remove the kmem_object alias
This was retained for KPI compatibility, but I can't find anything which
needs it. Just get rid of it.
Reported by: rwatson
Reviewed by: alc, kib
Differential Revision: https://reviews.freebsd.org/D52708
---
sys/vm/vm_object.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 20e9fc1fcdcd..e58fae5f0090 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -235,9 +235,7 @@ extern struct mtx vm_object_list_mtx; /* lock for object list and count */
extern struct vm_object kernel_object_store;
-/* kernel and kmem are aliased for backwards KPI compat. */
#define kernel_object (&kernel_object_store)
-#define kmem_object (&kernel_object_store)
#define VM_OBJECT_ASSERT_LOCKED(object) \
rw_assert(&(object)->lock, RA_LOCKED)