[PATCH v6 03/24] mm: Dont assume page-table invariance during faults
Andi Kleen
ak at linux.intel.com
Wed Jan 17 14:04:12 AEDT 2018
Laurent Dufour <ldufour at linux.vnet.ibm.com> writes:
> From: Peter Zijlstra <peterz at 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 reliance on the pte pointer.
This needs a lot more explanation. So why is this code not needed with
SPF only?
-Andi
More information about the Linuxppc-dev
mailing list