# Re: \[PATCH v2 10/10\] mm: hwpoison\_user\_mappings() try\_to\_unmap() with TTU\_SYNC

- From: Kirill A. Shutemov \<hidden\>
- Date: 2021-06-09 10:28:55 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/06/1408323
- Thread: https://ratatoskr.run/linux-mm/2021/06/1407952/t.md

```text
On Tue, Jun 08, 2021 at 09:30:00PM -0700, Hugh Dickins wrote:
> TTU_SYNC prevents an unlikely race, when try_to_unmap() returns shortly
> before the page is accounted as unmapped.  It is unlikely to coincide
> with hwpoisoning, but now that we have the flag, hwpoison_user_mappings()
> would do well to use it.
> 
> Signed-off-by: Hugh Dickins <hughd@google.com>

Acked-by: Kirill A. Shutemov <redacted>

-- 
 Kirill A. Shutemov

```
