aboutsummaryrefslogtreecommitdiff
path: root/vm/vm_page.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_page.c')
-rw-r--r--vm/vm_page.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c
index 87185c15..707be4bb 100644
--- a/vm/vm_page.c
+++ b/vm/vm_page.c
@@ -2040,7 +2040,15 @@ again:
* TODO Find out what could cause this and how to deal with it.
* This will likely require an out-of-memory killer.
*/
- printf("vm_page warning: unable to recycle any page");
+
+ {
+ static boolean_t warned = FALSE;
+
+ if (!warned) {
+ printf("vm_page warning: unable to recycle any page\n");
+ warned = 1;
+ }
+ }
}
simple_unlock(&vm_page_queue_free_lock);