Re: [PATCH v6 03/24] mm: Dont assume page-table invariance during faults

2018-01-17 Thread Laurent Dufour
On 17/01/2018 04:04, Andi Kleen wrote: > Laurent Dufour writes: > >> From: Peter Zijlstra >> >> 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. >> >> Remov

Re: [PATCH v6 03/24] mm: Dont assume page-table invariance during faults

2018-01-16 Thread Andi Kleen
Laurent Dufour writes: > From: Peter Zijlstra > > 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 reliance on the pte pointer. This needs a l

[PATCH v6 03/24] mm: Dont assume page-table invariance during faults

2018-01-12 Thread Laurent Dufour
From: Peter Zijlstra 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 reliance on the pte pointer. Signed-off-by: Peter Zijlstra (Intel) [Remove onl