Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - K index
The Linux kernel configuration item CONFIG_KASAN_VMALLOC
has multiple definitions:
lib/Kconfig.kasan
The configuration item CONFIG_KASAN_VMALLOC:
CONFIG_HAVE_ARCH_KASAN_VMALLOC
This mode makes KASAN check accesses to vmalloc allocations for validity.
With software KASAN modes, checking is done for all types of vmalloc allocations. Enabling this option leads to higher memory usage.
With hardware tag-based KASAN, only VM_ALLOC mappings are checked. There is no additional memory usage.
lib/Kconfig.kasan
The configuration item CONFIG_KASAN_VMALLOC:
CONFIG_KASAN_GENERIC && CONFIG_HAVE_ARCH_KASAN_VMALLOC
By default, the shadow region for vmalloc space is the read-only zero page. This means that KASAN cannot detect errors involving vmalloc space.
Enabling this option will hook in to vmap/vmalloc and back those mappings with real shadow memory allocated on demand. This allows for KASAN to detect more sorts of errors (and to support vmapped stacks), but at the cost of higher memory usage.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - K index
Automatically generated (in year 2022). See also LKDDb sources on GitLab