Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_remove_all() for x86



On Tue, Jun 03, 2008 at 03:01:43PM +0100, Andrew Doran wrote:

> On Tue, Jun 03, 2008 at 04:01:20PM +0200, Christoph Egger wrote:
> 
> > On Tuesday 03 June 2008 15:37:44 Andrew Doran wrote:
> > > http://www.netbsd.org/~ad/pmap.diff
> > >
> > > Is there anything wrong with this? Have I missed a case where we can
> > > avoid an invalidation?
> > 
> > In pmap_free_ptp() I don't see where you initialize invaladdr2.
> > To me, this looks like using an uninitialized variable.
> 
> I made that change after testing it; the remove_all bit does work well
> though.

It occured to me that remote invalidations can also be deferred. Updated
diff:

        http://www.netbsd.org/~ad/pmap2.diff

Andrew


Home | Main Index | Thread Index | Old Index