Thread (78 messages) 78 messages, 7 authors, 2021-08-25

Re: [External] [PATCH v3 01/14] memory-failure: fetch compound_head after pgmap_pfn_valid()

From: Muchun Song <hidden>
Date: 2021-07-15 02:52:26
Also in: linux-mm, nvdimm

On Thu, Jul 15, 2021 at 3:36 AM Joao Martins [off-list ref] wrote:
memory_failure_dev_pagemap() at the moment assumes base pages (e.g.
dax_lock_page()).  For pagemap with compound pages fetch the
compound_head in case a tail page memory failure is being handled.

Currently this is a nop, but in the advent of compound pages in
dev_pagemap it allows memory_failure_dev_pagemap() to keep working.

Reported-by: Jane Chu <redacted>
Signed-off-by: Joao Martins <redacted>
Reviewed-by: Naoya Horiguchi <redacted>
Reviewed-by: Muchun Song <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help