Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 13:32:51 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
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
Message-ID:  <200206262032.g5QKWphu050139@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206262032.g5QKWphu050139>