Re: [PATCH v2 02/11] mm: add pmd_mkclean()

Dave Hansen
2015-11-14T01:03:03Z

On 11/13/2015 04:06 PM, Ross Zwisler wrote:
> +static inline pmd_t pmd_mkclean(pmd_t pmd)
> +{
> + return pmd_clear_flags(pmd, _PAGE_DIRTY | _PAGE_SOFT_DIRTY);
> +}

pte_mkclean() doesn't clear _PAGE_SOFT_DIRTY. What the thought behind
doing it here?