use ihk_mc_alloc/free_pages() and eliminate direct calls to low level routines

This commit is contained in:
Balazs Gerofi
2016-09-01 15:57:25 +09:00
parent f3da381752
commit 9b82f1a52c
7 changed files with 12 additions and 13 deletions

View File

@@ -281,7 +281,7 @@ static void fileobj_release(struct memobj *memobj)
}
page->mode = PM_NONE;
free_pages(phys_to_virt(page_to_phys(page)), 1);
ihk_mc_free_pages(phys_to_virt(page_to_phys(page)), 1);
}
obj_list_remove(free_obj);
ihk_mc_spinlock_unlock_noirq(&fileobj_list_lock);