X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/6f65553ca5d2740738f399d88b3a4eb298255427..e2994a5332194a132c60db35c55a006bdd1f6566:/lunaix-os/kernel/mm/pmalloc_simple.c diff --git a/lunaix-os/kernel/mm/pmalloc_simple.c b/lunaix-os/kernel/mm/pmalloc_simple.c index 868c470..93fae04 100644 --- a/lunaix-os/kernel/mm/pmalloc_simple.c +++ b/lunaix-os/kernel/mm/pmalloc_simple.c @@ -127,6 +127,7 @@ pmm_looknext(struct pmem_pool* pool, size_t order) page->order = order; page->companion = i; page->pool = pool->type; + page->refs = 0; llist_init_head(&page->sibs); __set_page_initialized(page); }