Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/highmem: fix CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
The kernel test robot found that __kmap_local_sched_out() was not correctly skipping the guard pages when DEBUG_KMAP_LOCAL_FORCE_MAP was set.[1] This was due to DEBUG_HIGHMEM check being used. Change the configuration check to be correct. [1] https://lore.kernel.org/lkml/20210304083825.GB17830@xsang-OptiPlex-9020/ Link: https://lkml.kernel.org/r/[email protected] Fixes: 0e91a0c ("mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP") Signed-off-by: Ira Weiny <[email protected]> Reported-by: kernel test robot <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Oliver Sang <[email protected]> Cc: Chaitanya Kulkarni <[email protected]> Cc: David Sterba <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information