kernel: rebuild object ref-counting using atomic types

This commit is contained in:
2026-03-24 19:10:36 +00:00
parent 9faa11cddc
commit 7dc0c742fa
9 changed files with 42 additions and 97 deletions

View File

@@ -15,7 +15,7 @@
(p) += VM_PAGE_SIZE; \
}
static kern_status_t vm_object_cleanup(struct object *obj, struct queue *q)
static kern_status_t vm_object_cleanup(struct object *obj)
{
struct vm_object *vmo = vm_object_cast(obj);
struct btree_node *cur = btree_first(&vmo->vo_pages);