Re: [RFC v5 01/11] mm: Dont assume page-table invariance during faults
From: Balbir Singh
Date: Fri Jul 07 2017 - 03:08:25 EST
On Fri, 2017-06-16 at 19:52 +0200, Laurent Dufour wrote:
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
>
> One of the side effects of speculating on faults (without holding
> mmap_sem) is that we can race with free_pgtables() and therefore we
> cannot assume the page-tables will stick around.
>
> Remove the relyance on the pte pointer.
^^ reliance
Looking at the changelog and the code the impact is not clear.
It looks like after this patch we always assume the pte is not
the same. What is the impact of this patch?
Balbir Singh.