Re: [PATCH 3/5] hibernate: handle potential errors in hibernate_{map,unmap}_page()

From: David Hildenbrand (Arm)

Date: Wed Sep 23 2026 - 06:19:50 EST


On 9/17/26 08:07, Mike Rapoport (Microsoft) wrote:
> When safe_copy_page() had to map/unmap pages only because of
> debug_pagealloc() there could be no errors in the kernel page table
> updates.
>
> However, with the increasing desire to remove pages from the direct map
> this assumption becomes a real stretch.

What's our general direction in that regard?

I'd assume we'd not want to modify the directmap from hibernation code and
simply fail instead if we encounter that scenario.

--
Cheers,

David