[PATCH 2/4] PM: hibernate: improve robustness of mapping pages in the direct map

Edgecombe, Rick P rick.p.edgecombe at intel.com
Mon Oct 26 21:10:11 EDT 2020


On Mon, 2020-10-26 at 11:15 +0200, Mike Rapoport wrote:
> The intention of this series is to disallow usage of
> __kernel_map_pages() when DEBUG_PAGEALLOC=n. I'll update this patch
> to
> better handle possible errors, but I still want to keep WARN in the
> caller.

Sorry, I missed this snippet at the bottom, that your intention was to
actually handle errors somehow in the hibernate code. Please ignore my
other comment that assumed you wanted to just add a warn.


More information about the linux-riscv mailing list