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
Also in
lkml
Reply to
Hugh Dickins, 2021-06-09
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
Thread (3 messages) 3 messages, 3 authors, last reply 2021-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help