summaryrefslogtreecommitdiff
path: root/vm/vm_resident.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-11 13:47:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-11 13:47:29 +0200
commitbfdb3be16e5a20eebc97b3ca613d9a4da4465533 (patch)
treec353e3ad19017c8f5cdb330d6363ca2845cb11c4 /vm/vm_resident.c
parentec91b8ae6735a3f2977dc886ea63ff28e1aeef41 (diff)
parente1f856119dae48fcc1b649521ca45e4bdaa80ea9 (diff)
Merge branch 'master' into master-gdb_stubs
Conflicts: i386/i386at/com.c
Diffstat (limited to 'vm/vm_resident.c')
-rw-r--r--vm/vm_resident.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index b23e0f35..a6334989 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -976,6 +976,7 @@ vm_page_grab_contiguous_pages(
if ((vm_page_free_count < vm_page_free_reserved)
|| (vm_page_external_count >= vm_page_external_limit)) {
+ printf_once("no more room for vm_page_grab_contiguous_pages");
simple_unlock(&vm_page_queue_free_lock);
return KERN_RESOURCE_SHORTAGE;
}
@@ -1064,6 +1065,7 @@ count_ones:
*/
simple_unlock(&vm_page_queue_free_lock);
+ printf_once("no contiguous room for vm_page_grab_contiguous_pages");
ret = KERN_RESOURCE_SHORTAGE;
goto out;