Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682968

Re: [RFC v5 01/11] mm: Dont assume page-table invariance during faults

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC v5 01/11] mm: Dont assume page-table invariance during faults
Date 2017-07-07 09:10 +0200
Message-ID <u0vyN-sw-11@gated-at.bofh.it> (permalink)
References <tT3Hj-3lN-3@gated-at.bofh.it> <tT3Hl-3lN-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2017-06-16 at 19:52 +0200, Laurent Dufour wrote:
> From: Peter Zijlstra <peterz@infradead.org>
> 
> 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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [RFC v5 01/11] mm: Dont assume page-table invariance during  faults Balbir Singh <bsingharora@gmail.com> - 2017-07-07 09:10 +0200
  Re: [RFC v5 01/11] mm: Dont assume page-table invariance during  faults Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-07-10 19:50 +0200
    Re: [RFC v5 01/11] mm: Dont assume page-table invariance during  faults Balbir Singh <bsingharora@gmail.com> - 2017-07-11 06:30 +0200

csiph-web