Re: [PATCH v4 1/6] mm: move memory_failure_queue() into copy_mc_[user]_highpage()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024/6/3 17:24, Kefeng Wang wrote:
> There is a memory_failure_queue() call after copy_mc_[user]_highpage(),
> see callers, eg, CoW/KSM page copy, it is used to mark the source page
> as h/w poisoned and unmap it from other tasks, and the upcomming poison
> recover from migrate folio will do the similar thing, so let's move the
> memory_failure_queue() into the copy_mc_[user]_highpage() instead of
> adding it into each user, this should also enhance the handling of
> poisoned page in khugepaged.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>

LGTM. Thanks.

Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Thanks.
.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux