Re: [PATCH v14 5/8] s390: add pmd_[dirty|mkclean] for THP
From: Minchan Kim <hidden>
Date: 2014-08-18 00:06:10
Also in:
linux-mm, lkml
From: Minchan Kim <hidden>
Date: 2014-08-18 00:06:10
Also in:
linux-mm, lkml
Hello, On Thu, Aug 14, 2014 at 09:16:14AM +0200, Martin Schwidefsky wrote:
On Thu, 14 Aug 2014 10:53:29 +0900 Minchan Kim [off-list ref] wrote:quoted
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=2The solution is already there, see git commit 152125b7a882df36. You can drop this patch.
Thanks for the heads up. I will drop it in next spin.
-- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo-Bw31MaZKKs0EbZ0PF+XxCw@public.gmane.org For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org"> email-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org </a>
-- Kind regards, Minchan Kim