commit | b8e0de2ad0e4e2b5a0e8cbcfca1a178f18bde53e | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Wed Jul 26 15:38:06 2023 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Aug 15 16:30:55 2023 -0400 |
tree | 74201773d2435c5392e46d0ee31b9d391ecb8a54 | |
parent | 697526204764acdaae6ae1e9ab8862c82ff557d5 [diff] |
kernel: mmu: fix bitmap set and clear under direct map When CONFIG_KERNEL_DIRECT_MAP enabled, the region to be mapped or unmapped can be outside of the virtual memory space, wholly within it, or overlap partially. Additional processing is needed to make sure we only manipulate the bits within the bitmap, in other words, only the pages represented by the bitmap. Fixes #59549 Signed-off-by: Daniel Leung <daniel.leung@intel.com>