On Thu, Jul 15, 2021 at 3:36 AM Joao Martins <[email protected]> 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 <[email protected]> > Signed-off-by: Joao Martins <[email protected]> > Reviewed-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
