From owner-cvs-all Wed Jun 26 13:40:45 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B816F37CE57; Wed, 26 Jun 2002 13:32:51 -0700 (PDT) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5QKWpJU050140; Wed, 26 Jun 2002 13:32:51 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5QKWphu050139; Wed, 26 Jun 2002 13:32:51 -0700 (PDT) Message-Id: <200206262032.g5QKWphu050139@freefall.freebsd.org> From: Ian Dowse Date: Wed, 26 Jun 2002 13:32:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c vm_map.c vm_object.c src/sys/i386/i386 pmap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/06/26 13:32:51 PDT Modified files: sys/vm swap_pager.c vm_map.c vm_object.c sys/i386/i386 pmap.c Log: Avoid using the 64-bit vm_pindex_t in a few places where 64-bit types are not required, as the overhead is unnecessary: o In the i386 pmap_protect(), `sindex' and `eindex' represent page indices within the 32-bit virtual address space. o In swp_pager_meta_build() and swp_pager_meta_ctl(), use a temporary variable to store the low few bits of a vm_pindex_t that gets used as an array index. o vm_uiomove() uses `osize' and `idx' for page offsets within a map entry. o In vm_object_split(), `idx' is a page offset within a map entry. Revision Changes Path 1.325 +1 -1 src/sys/i386/i386/pmap.c 1.175 +14 -12 src/sys/vm/swap_pager.c 1.259 +3 -2 src/sys/vm/vm_map.c 1.220 +2 -2 src/sys/vm/vm_object.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message