From 20a62969991a91e110796836f75626b45d899ef9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Dec 2022 15:17:32 +0100 Subject: 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. --- vm/vm_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vm_page.c') 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); -- cgit v1.2.3