Re: [PATCH 3/4] mm: memory-failure: avoid false hwpoison page mapped error info

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

 



On Sat, Jul 15, 2023 at 11:17:28AM +0800, Miaohe Lin wrote:
> folio->_mapcount is overloaded in SLAB, so folio_mapped() has to be done
> after folio_test_slab() is checked. Otherwise slab folio might be treated
> as a mapped folio leading to false 'Someone maps the hwpoison page' error
> info.
> 
> Fixes: 230ac719c500 ("mm/hwpoison: don't try to unpoison containment-failed pages")
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>




[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