From owner-cvs-src-old@FreeBSD.ORG Sat May 22 21:39:17 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 6558A1065691 for ; Sat, 22 May 2010 21:39:17 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 54A018FC15 for ; Sat, 22 May 2010 21:39:17 +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 o4MLdHXt012106 for ; Sat, 22 May 2010 21:39:17 GMT (envelope-from neel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4MLdHF1012105 for cvs-src-old@freebsd.org; Sat, 22 May 2010 21:39:17 GMT (envelope-from neel@repoman.freebsd.org) Message-Id: <201005222139.o4MLdHF1012105@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to neel@repoman.freebsd.org using -f From: Neel Natu Date: Sat, 22 May 2010 21:38:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/mips pmap.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, 22 May 2010 21:39:17 -0000 neel 2010-05-22 21:38:57 UTC FreeBSD src repository Modified files: sys/mips/mips pmap.c Log: SVN rev 208422 on 2010-05-22 21:38:57Z by neel - Use ptpgzone zone to allocate page table pages irrespective of the amount of memory on a platform. Tested on the Sibyte with 256MB and 1GB memory configurations. - Replace vtophys() with MIPS_KSEG0_TO_PHYS() to convert a page table page's virtual address to physical. We can safely do this because page table pages are allocated out of KSEG0. - Add an assertion to verify that when a page table page is freed it contains all zeroes. We can now use it after allocation without zeroing it. Revision Changes Path 1.49 +25 -81 src/sys/mips/mips/pmap.c