On 5/13/26 17:39, Breno Leitao wrote: > The previous patch already classifies PG_reserved pages as > MF_MSG_KERNEL through the long path: get_hwpoison_page() calls > __get_hwpoison_page() which fails HWPoisonHandlable(), get_any_page() > exhausts its shake_page() retry budget, and the resulting > -ENOTRECOVERABLE is mapped to MF_MSG_KERNEL by the switch. The > outcome is correct but the work in between is wasted: shake_page() > cannot turn a reserved page into a handlable one.
If really required, can we just move the check right there, into get_any_page() etc? -- Cheers, David
