mm: update ptep_modify_prot_commit to take old pte value as arg
Architectures like ppc64 require to do a conditional tlb flush based on the old and new value of pte. Enable that by passing old pte value as the arg. Link: http://lkml.kernel.org/r/20190116085035.29729-3-aneesh.kumar@linux.ibm.com Signed-off-by:Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/s390/include/asm/pgtable.h 2 additions, 1 deletionarch/s390/include/asm/pgtable.h
- arch/s390/mm/pgtable.c 1 addition, 1 deletionarch/s390/mm/pgtable.c
- arch/x86/include/asm/paravirt.h 1 addition, 1 deletionarch/x86/include/asm/paravirt.h
- fs/proc/task_mmu.c 5 additions, 3 deletionsfs/proc/task_mmu.c
- include/asm-generic/pgtable.h 1 addition, 1 deletioninclude/asm-generic/pgtable.h
- mm/memory.c 4 additions, 4 deletionsmm/memory.c
- mm/mprotect.c 3 additions, 3 deletionsmm/mprotect.c
Loading
Please register or sign in to comment