Re: [PATCH] mm/highmem: Fix CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP

From: Thomas Gleixner
Date: Thu Mar 18 2021 - 22:14:58 EST


On Thu, Mar 18 2021 at 16:06, ira weiny wrote:
> From: Ira Weiny <ira.weiny@xxxxxxxxx>
>
> The kernel test robot found that __kmap_local_sched_out() was not
> correctly skipping the guard pages when
> CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP was set.[1] This was due to
> CONFIG_DEBUG_HIGHMEM check being used.
>
> Change the configuration check to be correct.
>
> [1] https://lore.kernel.org/lkml/20210304083825.GB17830@xsang-OptiPlex-9020/
>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Oliver Sang <oliver.sang@xxxxxxxxx>
> Cc: Chaitanya Kulkarni <Chaitanya.Kulkarni@xxxxxxx>
> Cc: David Sterba <dsterba@xxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Fixes: 0e91a0c6984c ("mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP")
> Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx

Thanks,

tglx