Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

From: Edgecombe, Rick P
Date: Sun Oct 25 2020 - 21:14:04 EST


On Sun, 2020-10-25 at 12:15 +0200, Mike Rapoport wrote:
> Indeed, for architectures that define CONFIG_ARCH_HAS_SET_DIRECT_MAP
> it is
> possible that __kernel_map_pages() would fail, but since this
> function is
> void, the failure will go unnoticed.

Could you elaborate on how this could happen? Do you mean during
runtime today or if something new was introduced?