tech-kern archive

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

Re: UVM patch for PR port-xen/45975



Chuck Silvers <chuq%chuq.com@localhost> wrote:
> On Sat, Feb 18, 2012 at 07:01:24PM +0100, Manuel Bouyer wrote:
> > >  - the calls to pmap_update() should be moved along with the calls to
> > >    pmap_kremove().
> > 
> > But not all pmap_kremove() are followed by a pmap_update() in the
> > initial code. Is it a bug ?
> 
> yes.  we don't currently defer TLB invalidations from pmap_kremove() on
> x86 (or probably any platform), but if we start doing that then the
> pmap_update()s are needed.

That is not true.  We do defer TLB invalidations/flush to pmap_update() on
x86 (see pmap_tlb.c mechanism) and MIPS.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index