Received: by mail.netbsd.org (Postfix, from userid 605) id 73B5F19D6E1; Fri, 12 Nov 2010 03:21:06 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id EF90419D60C for ; Fri, 12 Nov 2010 03:21:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E2273175DD; Fri, 12 Nov 2010 03:21:04 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 12 Nov 2010 03:21:04 +0000 From: "Masao Uebayashi" Subject: CVS commit: src/sys/uvm To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101112032104.E2273175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Masao Uebayashi" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: uebayasi Date: Fri Nov 12 03:21:04 UTC 2010 Modified Files: src/sys/uvm: uvm_page.c uvm_page.h Log Message: Abstraction fix; move physical address -> physical segment "reverse" lookup code from uvm_page.h to uvm_page.c. This code is used by some pmaps to lookup per-page state (PV) from per-segment metadata (struct vm_physseg). This is not needed if UVM looks up physical segment once in fault handler, then directly passes it to pmap. This change helps transition to that model. The only users of vm_physseg_find() are pmap_motorola.c and powerpc/ibm4xx/pmap.c. Tested By: Compiling and running powerpc/ibm4xx/pmap.c (evbppc/conf/OPENBLOCKS266) To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.162 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.63 -r1.64 src/sys/uvm/uvm_page.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.