]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: add pmd_[dirty|mkclean] for THP
authorMinchan Kim <minchan@kernel.org>
Tue, 7 Apr 2015 23:44:40 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:40 +0000 (09:44 +1000)
commit599000503a848686f089de8f7ae0cf2371591483
tree9213b877b221989d4803550b81dc27abf750f626
parent07cc6d8422ea319b5d811cb4aaa3401552893785
powerpc: 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/powerpc/include/asm/pgtable-ppc64.h