diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-10-07 11:24:39 +0100 |
---|---|---|
committer | Kim Phillips <kim.phillips@linaro.org> | 2013-10-10 10:57:07 -0500 |
commit | fad4f3e5e2f5de45bfac686d8c29ec1900fa2824 (patch) | |
tree | f28f51eab483fcb7a856a2e1aa5292a48e449a71 /arch/arm/include/asm/tlb.h | |
parent | 0bb5dde15801cd37357cbd153272f71992e45952 (diff) |
thp: Introduce arch_(un)block_thp_split
In kernel/futex.c an assumption is made in the THP tail pinning code
that disabling the irqs is sufficient to block the THP splitting code
from completing.
Architectures such as ARM do hardware TLB broadcasts so disabling the
irqs will not prevent a THP split from completing.
This patch introduces: arch_block_thp_split and arch_unblock_thp_split,
and provides stock implementations that observe the original irq enable
and disable behaviour.
One can then define these macros themselves to implement architecture
specific behaviour.
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Kim Phillips <kim.phillips@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/tlb.h')
0 files changed, 0 insertions, 0 deletions