Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 21:27:20 -0700
From:      "Luoqi Chen" <lchen@briontech.com>
To:        "David G. Lawrence" <dg@dglawrence.com>, "Peter Wemm" <peter@wemm.org>
Cc:        stable@freebsd.org
Subject:   RE: PAE removal patch for testing
Message-ID:  <AHEKICEOIHLOGINAFIINKEEGCBAA.lchen@briontech.com>
In-Reply-To: <20030826034451.GD61917@nexus.dglawrence.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> >    I've reviewed it as well and it definitely is a bug that 
> needs to be fixed
> > ASAP. Basically, the pmap_remove code in -stable doesn't handle 
> the case of
> > crossing a page table boundry properly. If the next page table 
> page isn't
> > currently mapped, then the kernel will [fatally] fault when 
> trying to access
> > it.
> 
>    Hmmm...after pushing send I'm wondering if I'm mistaken about 
> the problem.
> Nevermind. :-)
> 
> -DG
> 
The real problem is pmap_remove_pte() code could block (when releasing
a pte page), allowing another process to come in and change the temporary
pde mapping (PMAP1). The old pmap code used APTD for this mapping, so
theoretically had the same problem, but APTD was much less frequently
used...

-lq



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