Added a TODO what we need to do with stolen active pages - for now, we don't
do anything with them, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22413 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4421183286
commit
e5b464d09f
@ -851,6 +851,10 @@ page_thief(void* /*unused*/)
|
||||
continue;
|
||||
}
|
||||
if (page->state != PAGE_STATE_INACTIVE) {
|
||||
// TODO: if this is an active page (as in stealActive), we need
|
||||
// to unmap it and check if it's modified in an atomic operation.
|
||||
// For now, we'll just ignore it, even though this might let
|
||||
// vm_page_allocate_page() wait forever...
|
||||
mutex_unlock(&cache->lock);
|
||||
vm_cache_release_ref(cache);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user