Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2008 16:04:50 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c
Message-ID:  <200804101604.m3AG4ouG093787@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2008-04-10 16:04:50 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  Correct pmap_copy()'s method for extracting the physical address of a
  2/4MB page from a PDE.  Specifically, change it to use PG_PS_FRAME,
  not PG_FRAME, to extract the physical address of a 2/4MB page from a
  PDE.
  
  Change the last argument passed to pmap_pv_insert_pde() from a
  vm_page_t representing the first 4KB page of a 2/4MB page to the
  vm_paddr_t of the 2/4MB page.  This avoids an otherwise unnecessary
  conversion from a vm_paddr_t to a vm_page_t in pmap_copy().
  
  Revision  Changes    Path
  1.614     +6 -6      src/sys/amd64/amd64/pmap.c
  1.616     +6 -6      src/sys/i386/i386/pmap.c



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