# Re: \[PATCH v14 5/8\] s390: add pmd\_\[dirty\|mkclean\] for THP

- From: Martin Schwidefsky \<hidden\>
- Date: 2014-08-14 07:16:28 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2014/08/4314807
- Thread: https://ratatoskr.run/linux-mm/2014/08/4314697/t.md

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