Re: [PATCH v12 05/31] mm: prepare for FAULT_FLAG_SPECULATIVE

2019-04-23 Thread Laurent Dufour
Le 19/04/2019 à 00:04, Jerome Glisse a écrit : On Tue, Apr 16, 2019 at 03:44:56PM +0200, Laurent Dufour wrote: From: Peter Zijlstra When speculating faults (without holding mmap_sem) we need to validate that the vma against which we loaded pages is still valid when we're ready to install the n

Re: [PATCH v12 05/31] mm: prepare for FAULT_FLAG_SPECULATIVE

2019-04-18 Thread Jerome Glisse
On Tue, Apr 16, 2019 at 03:44:56PM +0200, Laurent Dufour wrote: > From: Peter Zijlstra > > When speculating faults (without holding mmap_sem) we need to validate > that the vma against which we loaded pages is still valid when we're > ready to install the new PTE. > > Therefore, replace the pte_