aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2023-07-27 19:56:42 +0800
committerAndrew Morton <[email protected]>2023-08-04 13:03:41 -0700
commitfaeb2ff2c1c5cb60ce0da193580b256c941f99ca (patch)
tree7138a3543309d14fc6a1424bc20dd9d404d4bf42 /scripts/generate_rust_analyzer.py
parentf29623e4a599c295cc8f518c8e4bb7848581a14d (diff)
mm: memory-failure: avoid false hwpoison page mapped error info
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. Link: https://lkml.kernel.org/r/[email protected] Fixes: 230ac719c500 ("mm/hwpoison: don't try to unpoison containment-failed pages") Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions