diff options
author | attilio <attilio@FreeBSD.org> | 2013-02-04 15:44:42 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-02-04 15:44:42 +0000 |
commit | b972b67ed72b5687a023c92602aaef64163b2f59 (patch) | |
tree | be42bc9a83836a801e84a2cee5fee7491c530784 /sys/vm/vm_reserv.c | |
parent | b134f527dc56f34d4a3dc838371b9b0d2d041afa (diff) | |
parent | 0d3b58aee00948d85d75a9d3d222deb454afc98e (diff) | |
download | FreeBSD-src-b972b67ed72b5687a023c92602aaef64163b2f59.zip FreeBSD-src-b972b67ed72b5687a023c92602aaef64163b2f59.tar.gz |
Merge from vmcontention
Diffstat (limited to 'sys/vm/vm_reserv.c')
-rw-r--r-- | sys/vm/vm_reserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_reserv.c b/sys/vm/vm_reserv.c index 86a98d6..ab5cd1c 100644 --- a/sys/vm/vm_reserv.c +++ b/sys/vm/vm_reserv.c @@ -445,7 +445,7 @@ vm_reserv_alloc_contig(vm_object_t object, vm_pindex_t pindex, u_long npages, m += VM_LEVEL_0_NPAGES; first += VM_LEVEL_0_NPAGES; allocpages -= VM_LEVEL_0_NPAGES; - } while (allocpages > VM_LEVEL_0_NPAGES); + } while (allocpages > 0); return (m_ret); /* |