summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-18 15:17:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-18 15:17:32 +0100
commit20a62969991a91e110796836f75626b45d899ef9 (patch)
treee8c7aed7d2739ea247abdf767e57929bc673031c /vm
parente493c4e8c54ece41bd24b209cfb9efc24254214b (diff)
vm_page_evict: avoid crashing
It seems we hit he "unable to recycle any page" even when there is no memory pressure, probably just because the pageout thread somehow to kicked but there's nothing to page out left.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c
index 06d62c97..87185c15 100644
--- a/vm/vm_page.c
+++ b/vm/vm_page.c
@@ -2040,7 +2040,7 @@ again:
* TODO Find out what could cause this and how to deal with it.
* This will likely require an out-of-memory killer.
*/
- panic("vm_page: unable to recycle any page");
+ printf("vm_page warning: unable to recycle any page");
}
simple_unlock(&vm_page_queue_free_lock);