The no-swap store shouldn't fool the page writer into believing that its pages
could be written back. This should stop the page thief from stealing active pages that cannot be recreated easily :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22404 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3c3674113f
commit
9f0d226c72
@ -102,7 +102,7 @@ anonymous_write(struct vm_store *store, off_t offset, const iovec *vecs,
|
||||
size_t count, size_t *_numBytes, bool fsReenter)
|
||||
{
|
||||
// no place to write, this will cause the page daemon to skip this store
|
||||
return 0;
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user