Added a comment to vm_page_write_modified() that writing pages can only
be done consistently if they are unmapped from memory - which is not yet done. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10285 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9a1e02770b
commit
22ca5e3c35
@ -169,6 +169,10 @@ vm_page_write_modified(vm_cache *cache)
|
||||
remove_page_from_queue(&page_modified_queue, page);
|
||||
page->state = PAGE_STATE_BUSY;
|
||||
gotPage = true;
|
||||
|
||||
// ToDo: just setting PAGE_STAGE_BUSY is not enough, we would also
|
||||
// need to remove all mappings of this page - else, you could still
|
||||
// write to this page.
|
||||
}
|
||||
|
||||
release_spinlock(&page_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user