On Mon, 7 Jul 2014 09:53:56 +0900 Minchan Kim <minc...@kernel.org> 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 > > Cc: Martin Schwidefsky <schwidef...@de.ibm.com> > Cc: Heiko Carstens <heiko.carst...@de.ibm.com> > Cc: Gerald Schaefer <gerald.schae...@de.ibm.com> > Cc: Dominik Dingel <din...@linux.vnet.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: linux-s...@vger.kernel.org > Signed-off-by: Minchan Kim <minc...@kernel.org> > --- > arch/s390/include/asm/pgtable.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Acked-by: Gerald Schaefer <gerald.schae...@de.ibm.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/