On Thu, 14 Aug 2014 10:53:29 +0900
Minchan Kim [off-list ref] 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.