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:
Ingo Weinhold
2010-01-11 16:36:31 +00:00
parent a0b07ebaab
commit d7455de2f6
2 changed files with 13 additions and 18 deletions
+1 -4
View File
@@ -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;