Add an alignment feature to vm_map_findspace(). This feature will be used
[dragonfly.git] / sys / vm / vm_page.c
index b69f796..54f2d31 100644 (file)
@@ -35,7 +35,7 @@
  *
  *     from: @(#)vm_page.c     7.4 (Berkeley) 5/7/91
  * $FreeBSD: src/sys/vm/vm_page.c,v 1.147.2.18 2002/03/10 05:03:19 alc Exp $
- * $DragonFly: src/sys/vm/vm_page.c,v 1.7 2003/07/19 21:14:53 dillon Exp $
+ * $DragonFly: src/sys/vm/vm_page.c,v 1.8 2003/08/25 17:01:13 dillon Exp $
  */
 
 /*
@@ -1848,7 +1848,7 @@ again1:
                 * return kernel VM pointer.
                 */
                vm_map_lock(map);
-               if (vm_map_findspace(map, vm_map_min(map), size, &addr) !=
+               if (vm_map_findspace(map, vm_map_min(map), size, 1, &addr) !=
                    KERN_SUCCESS) {
                        /*
                         * XXX We almost never run out of kernel virtual