* Removed unused vm_page::busy_{reading|writing} fields.
* Fixed vm_page_allocate_page_run(): it did not take the pageState into account, and would therefore return uninitialized memory (ie. B_CONTIGUOUS areas would contain garbage). Now, it stores if a page is cleared in a new vm_page::is_cleared field. * Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22306 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,7 +37,6 @@ status_t vm_page_write_modified(vm_cache *cache, bool fsReenter);
|
||||
vm_page *vm_page_allocate_page(int state);
|
||||
status_t vm_page_allocate_pages(int pageState, vm_page **pages, uint32 numPages);
|
||||
vm_page *vm_page_allocate_page_run(int state, addr_t length);
|
||||
vm_page *vm_page_allocate_specific_page(addr_t page_num, int state);
|
||||
vm_page *vm_page_at_index(int32 index);
|
||||
vm_page *vm_lookup_page(addr_t pageNumber);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user