s390/mm: pmdp_get_and_clear_full optimization
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Oct 2014 08:52:29 +0000 (10:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 27 Oct 2014 12:27:30 +0000 (13:27 +0100)
commitfcbe08d66f57c368e77ca729dd01e6b539ffb3ff
tree202c07aac6f67b5b34372da6f80cf9baa773e307
parent6972cae523de728ad5e8dae01da4a631d98b874c
s390/mm: pmdp_get_and_clear_full optimization

Analog to ptep_get_and_clear_full define a variant of the
pmpd_get_and_clear primitive which gets the full hint from the
mmu_gather struct. This allows s390 to avoid a costly instruction
when destroying an address space.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
include/asm-generic/pgtable.h
mm/huge_memory.c