[GIT PULL] memblock: fix handling of NOMAP regions with kmemleak

From: Mike Rapoport
Date: Sat Oct 16 2021 - 03:23:07 EST


Hi Linus,

The following changes since commit 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc:

Linux 5.15-rc5 (2021-10-10 17:01:59 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2021-10-16

for you to fetch changes up to 6e44bd6d34d659c44cd8e7fc925c8a97f49b3c33:

memblock: exclude NOMAP regions from kmemleak (2021-10-13 08:36:59 +0300)

----------------------------------------------------------------
memblock: fix handling of NOMAP regions with kmemleak.

NOMAP regions don't have linear map entries so an attempt to scan these
areas in kmemleak would fault.

Prevent such faults by excluding NOMAP regions from kmemleak.

----------------------------------------------------------------
Mike Rapoport (1):
memblock: exclude NOMAP regions from kmemleak

mm/memblock.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

--
Sincerely yours,
Mike.