From owner-cvs-src-old@FreeBSD.ORG Sat Oct 30 16:09:28 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E187106564A for ; Sat, 30 Oct 2010 16:09:28 +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 6AE8E8FC15 for ; Sat, 30 Oct 2010 16:09:28 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9UG9SdB069285 for ; Sat, 30 Oct 2010 16:09:28 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9UG9Srd069284 for cvs-src-old@freebsd.org; Sat, 30 Oct 2010 16:09:28 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <201010301609.o9UG9Srd069284@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Sat, 30 Oct 2010 16:09:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2010 16:09:28 -0000 alc 2010-10-30 16:09:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_map.c Log: SVN rev 214558 on 2010-10-30 16:09:15Z by alc MFC r213408 If vm_map_find() is asked to allocate a superpage-aligned region of virtual addresses that is greater than a superpage in size but not a multiple of the superpage size, then vm_map_find() is not always expanding the kernel pmap to support the last few small pages being allocated. Previously, we grew the kernel page table in vm_map_findspace() when we found the first available virtual address. Now, instead, we defer the call to pmap_growkernel() until we are committed to a range of virtual addresses in vm_map_insert(). Revision Changes Path 1.388.2.12 +8 -14 src/sys/vm/vm_map.c