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

- From: Jue Wang \<hidden\>
- Date: 2021-03-13 01:56:30 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/03/6299093
- Thread: https://ratatoskr.run/linux-edac/2021/02/6279631/t.md

```text
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.


```
