The patch titled Subject: x86: add pmd_[dirty|mkclean] for THP has been removed from the -mm tree. Its filename was x86-add-pmd_-for-thp.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Minchan Kim <minchan@xxxxxxxxxx> Subject: x86: 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. [akpm@xxxxxxxxxxxxxxxxxxxx: mm-fix-huge-zero-page-accounting-in-smaps-report.patch also added pmd_dirty()] Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/include/asm/pgtable.h | 5 +++++ 1 file changed, 5 insertions(+) diff -puN arch/x86/include/asm/pgtable.h~x86-add-pmd_-for-thp arch/x86/include/asm/pgtable.h --- a/arch/x86/include/asm/pgtable.h~x86-add-pmd_-for-thp +++ a/arch/x86/include/asm/pgtable.h @@ -262,6 +262,11 @@ static inline pmd_t pmd_mkold(pmd_t pmd) return pmd_clear_flags(pmd, _PAGE_ACCESSED); } +static inline pmd_t pmd_mkclean(pmd_t pmd) +{ + return pmd_clear_flags(pmd, _PAGE_DIRTY); +} + static inline pmd_t pmd_wrprotect(pmd_t pmd) { return pmd_clear_flags(pmd, _PAGE_RW); _ Patches currently in -mm which might be from minchan@xxxxxxxxxx are sparc-add-pmd_-for-thp.patch powerpc-add-pmd_-for-thp.patch arm-add-pmd_mkclean-for-thp.patch arm64-add-pmd_-for-thp.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html