summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_reserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_reserv.c')
-rw-r--r--sys/vm/vm_reserv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c
index f5f44f7..d6cbc83 100644
--- a/sys/vm/vm_reserv.c
+++ b/sys/vm/vm_reserv.c
@@ -654,7 +654,8 @@ vm_reserv_reclaim_contig(vm_paddr_t size, vm_paddr_t low, vm_paddr_t high,
((pa ^ (pa + size - 1)) &
~(boundary - 1)) != 0)
pa_length = 0;
- } else if (pa_length >= size) {
+ }
+ if (pa_length >= size) {
vm_reserv_reclaim(rv);
return (TRUE);
}
OpenPOWER on IntegriCloud