]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: add pmd_mkclean for THP
authorMinchan Kim <minchan@kernel.org>
Tue, 7 Apr 2015 23:44:41 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:41 +0000 (09:44 +1000)
commit72c17f5be2cd0777fb6066debbe75fb896ad6077
tree2fcdd1f0391f6df23941023519199e8206b98190
parent599000503a848686f089de8f7ae0cf2371591483
arm: add pmd_mkclean for THP

MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite
of the contents since MADV_FREE syscall is called for THP page.

This patch adds pmd_mkclean for THP page MADV_FREE support.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/include/asm/pgtable-3level.h