Re: [PATCH v14 5/8] s390: add pmd_[dirty|mkclean] for THP
From: Martin Schwidefsky
Date: Thu Aug 14 2014 - 03:16:34 EST
On Thu, 14 Aug 2014 10:53:29 +0900
Minchan Kim <minchan@xxxxxxxxxx> wrote:
> MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent
> overwrite of the contents since MADV_FREE syscall is called for
> THP page but for s390 pmds only referenced bit is available
> because there is no free bit left in the pmd entry for the
> software dirty bit so this patch adds dumb pmd_dirty which
> returns always true by suggesting by Martin.
>
> They finally find a solution in future.
> http://marc.info/?l=linux-api&m=140440328820808&w=2
The solution is already there, see git commit 152125b7a882df36.
You can drop this patch.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/