From owner-cvs-src-old@FreeBSD.ORG Sun Apr 18 22:36:10 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 21346106566B for ; Sun, 18 Apr 2010 22:36:10 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E762D8FC18 for ; Sun, 18 Apr 2010 22:36:09 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3IMa93J099062 for ; Sun, 18 Apr 2010 22:36:09 GMT (envelope-from jmallett@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3IMa9Tj099053 for cvs-src-old@freebsd.org; Sun, 18 Apr 2010 22:36:09 GMT (envelope-from jmallett@repoman.freebsd.org) Message-Id: <201004182236.o3IMa9Tj099053@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jmallett@repoman.freebsd.org using -f From: Juli Mallett Date: Sun, 18 Apr 2010 22:32:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/include param.h proc.h src/sys/mips/mips exception.S genassym.c machdep.c pmap.c swtch.S vm_machdep.c src/sys/vm pmap.h vm_extern.h vm_glue.c vm_kern.c vm_map.c vm_map.h 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: Sun, 18 Apr 2010 22:36:10 -0000 jmallett 2010-04-18 22:32:07 UTC FreeBSD src repository Modified files: sys/mips/include param.h proc.h sys/mips/mips exception.S genassym.c machdep.c pmap.c swtch.S vm_machdep.c sys/vm pmap.h vm_extern.h vm_glue.c vm_kern.c vm_map.c vm_map.h Log: SVN rev 206819 on 2010-04-18 22:32:07Z by jmallett o) Add a VM find-space option, VMFS_TLB_ALIGNED_SPACE, which searches the address space for an address as aligned by the new pmap_align_tlb() function, which is for constraints imposed by the TLB. [1] o) Add a kmem_alloc_nofault_space() function, which acts like kmem_alloc_nofault() but allows the caller to specify which find-space option to use. [1] o) Use kmem_alloc_nofault_space() with VMFS_TLB_ALIGNED_SPACE to allocate the kernel stack address on MIPS. [1] o) Make pmap_align_tlb() on MIPS align addresses so that they do not start on an odd boundary within the TLB, so that they are suitable for insertion as wired entries and do not have to share a TLB entry with another mapping, assuming they are appropriately-sized. o) Eliminate md_realstack now that the kstack will be appropriately-aligned on MIPS. o) Increase the number of guard pages to 2 so that we retain the proper alignment of the kstack address. Reviewed by: [1] alc X-MFC-after: Making sure alc has not come up with a better interface. Revision Changes Path 1.13 +2 -5 src/sys/mips/include/param.h 1.4 +1 -2 src/sys/mips/include/proc.h 1.13 +2 -2 src/sys/mips/mips/exception.S 1.6 +1 -1 src/sys/mips/mips/genassym.c 1.24 +2 -3 src/sys/mips/mips/machdep.c 1.38 +15 -0 src/sys/mips/mips/pmap.c 1.8 +1 -1 src/sys/mips/mips/swtch.S 1.10 +7 -19 src/sys/mips/mips/vm_machdep.c 1.88 +3 -0 src/sys/vm/pmap.h 1.94 +1 -0 src/sys/vm/vm_extern.h 1.242 +9 -0 src/sys/vm/vm_glue.c 1.142 +29 -0 src/sys/vm/vm_kern.c 1.428 +12 -1 src/sys/vm/vm_map.c 1.134 +3 -0 src/sys/vm/vm_map.h