Re: [RFC PATCH 2/4] mm: Change the interface for __tlb_remove_page

From: Hillf Danton
Date: Tue May 31 2016 - 03:32:21 EST


> > Do you want to update ->addr here?
> >
>
> I don't get that question. We wanted to track the alst adjusted addr in
> tlb->addr because when we do a tlb_flush_mmu_tlbonly() we does a
> __tlb_reset_range(), which clears tlb->start and tlb->end. Now we need
> to update the range again with the last adjusted addr before we can call
> __tlb_remove_page(). Look for VM_BUG_ON(!tlb->end); in
> __tlb_remove_page().
>
Got, thanks.

Hillf