Thread (23 messages) flat view 23 messages, 4 authors, 2021-07-13

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

From: Joao Martins <hidden>
Date: 2021-06-21 13:50:26
Also in: linux-mm, nvdimm

On 6/21/21 12:56 AM, HORIGUCHI NAOYA(堀口 直也) wrote:
On Thu, Jun 17, 2021 at 07:44:54PM +0100, Joao Martins wrote:
quoted
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>
Looks good to me.

Reviewed-by: Naoya Horiguchi <redacted>
Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help