summaryrefslogtreecommitdiffstats
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-11-18 20:48:41 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-24 14:42:09 +0100
commit14df32670291588036a498051a54cd8462d7f611 (patch)
treeb3285fcdb143e581c262a49f4e021c38ac362ceb /mm/highmem.c
parent0e91a0c6984c837a7c6760e3f28e8e1c532abf87 (diff)
downloadlinux-14df32670291588036a498051a54cd8462d7f611.tar.gz
linux-14df32670291588036a498051a54cd8462d7f611.tar.bz2
linux-14df32670291588036a498051a54cd8462d7f611.zip
x86: Support kmap_local() forced debugging
kmap_local() and related interfaces are NOOPs on 64bit and only create temporary fixmaps for highmem pages on 32bit. That means the test coverage for this code is pretty small. CONFIG_KMAP_LOCAL can be enabled independent from CONFIG_HIGHMEM, which allows to provide support for enforced kmap_local() debugging even on 64bit. For 32bit the support is unconditional, for 64bit it's only supported when CONFIG_NR_CPUS <= 4096 as supporting it for 8192 CPUs would require to set up yet another fixmap PGT. If CONFIG_KMAP_LOCAL_FORCE_DEBUG is enabled then kmap_local()/kmap_atomic() will use the temporary fixmap mapping path. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20201118204007.169209557@linutronix.de
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions