From owner-cvs-all@FreeBSD.ORG Sat May 10 18:55:36 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 878F91065670; Sat, 10 May 2008 18:55:36 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 766658FC0A; Sat, 10 May 2008 18:55:36 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4AItaaK063876; Sat, 10 May 2008 18:55:36 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4AIta8Z063875; Sat, 10 May 2008 18:55:36 GMT (envelope-from alc) Message-Id: <200805101855.m4AIta8Z063875@repoman.freebsd.org> From: Alan Cox Date: Sat, 10 May 2008 18:55:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 vm_map_find.9 src/sys/vm vm_map.c vm_map.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2008 18:55:36 -0000 alc 2008-05-10 18:55:35 UTC FreeBSD src repository Modified files: share/man/man9 vm_map_find.9 sys/vm vm_map.c vm_map.h Log: Generalize vm_map_find(9)'s parameter "find_space". Specifically, add support for VMFS_ALIGNED_SPACE, which requests the allocation of an address range best suited to superpages. The old options TRUE and FALSE are mapped to VMFS_ANY_SPACE and VMFS_NO_SPACE, so that there is no immediate need to update all of vm_map_find(9)'s callers. While I'm here, correct a misstatement about vm_map_find(9)'s return values in the man page. Revision Changes Path 1.5 +26 -7 src/share/man/man9/vm_map_find.9 1.396 +15 -10 src/sys/vm/vm_map.c 1.124 +9 -1 src/sys/vm/vm_map.h