allocate_page_run(): Use temporary lists to store the pages we're allocating.
This makes appending the pages to the active queue more efficient and we don't need the vm_page::is_cleared bit anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -96,11 +96,8 @@ struct vm_page {
|
||||
|
||||
uint8 type : 2;
|
||||
uint8 state : 3;
|
||||
|
||||
uint8 is_cleared : 1;
|
||||
// is currently only used in vm_page_allocate_page_run()
|
||||
uint8 busy_writing : 1;
|
||||
uint8 unused : 1;
|
||||
uint8 unused : 2;
|
||||
// used in VMAnonymousCache::Merge()
|
||||
|
||||
int8 usage_count;
|
||||
|
||||
Reference in New Issue
Block a user