physical page management: eliminate static page frame array and
maintain page structures dynamically covering only file mappings. use hash table for address <-> page structure conversion.
This commit is contained in:
@@ -112,7 +112,7 @@ static int alloc_zeroobj(void)
|
||||
goto out;
|
||||
}
|
||||
phys = virt_to_phys(virt);
|
||||
page = phys_to_page(phys);
|
||||
page = phys_to_page_insert_hash(phys);
|
||||
|
||||
if (page->mode != PM_NONE) {
|
||||
fkprintf("alloc_zeroobj():"
|
||||
|
||||
Reference in New Issue
Block a user