Re: [PATCH v2] mm,hwpoison: return -EBUSY when page already poisoned

From
Jue Wang <hidden>
Date
2021-03-13 01:56:30
Also in
linux-mm, lkml
Reply to
Luck, Tony, 2021-03-09
I believe the mutex type patch has its own value in protecting 
memory_failure from other inherent races, e.g., races around 
split_huge_page where concurrent MCE happens to different 4k pages 
under the same THP.[1] This realistically can happen given the physical
locality clustering effect of memory errors.

Thanks,
-Jue

[1] The split fails due to a page reference taken by other concurrent 
calling into memory_failure on the same THP.
Thread (40 messages) 40 messages, 4 authors, last reply 2021-03-17
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