]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: add pmd_[dirty|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)
commit2af58c31e289354a588760494f13d480e332c721
tree9ba74247b40d81c08a7913d9f96021f1efbfcd6a
parent72c17f5be2cd0777fb6066debbe75fb896ad6077
arm64: add pmd_[dirty|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_dirty and 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/arm64/include/asm/pgtable.h