Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - D index
The Linux kernel configuration item CONFIG_DEBUG_RODATA
has multiple definitions:
arch/parisc/Kconfig.debug
The configuration item CONFIG_DEBUG_RODATA:
CONFIG_DEBUG_KERNEL
Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a TLB anymore. If in doubt, say "N".
arch/arm/mm/Kconfig
The configuration item CONFIG_DEBUG_RODATA:
( CONFIG_MMU && ! CONFIG_XIP_KERNEL ) && ( CONFIG_CPU_V7 )
If this is set, kernel text and rodata memory will be made read-only, and non-text kernel memory will be made non-executable. The tradeoff is that each region is padded to section-size (1MiB) boundaries (because their permissions are different and splitting the 1M pages into 4K ones causes TLB performance problems), which can waste memory.
arch/x86/Kconfig
The configuration item CONFIG_DEBUG_RODATA:
(none)
(none)
arch/s390/Kconfig
The configuration item CONFIG_DEBUG_RODATA:
(none)
(none)
arch/arm64/Kconfig
The configuration item CONFIG_DEBUG_RODATA:
(none)
(none)
arch/arm64/Kconfig.debug
The configuration item CONFIG_DEBUG_RODATA:
(none)
If this is set, kernel text and rodata will be made read-only. This is to help catch accidental or malicious attempts to change the kernel's executable code.
If in doubt, say Y.
arch/x86/Kconfig.debug
The configuration item CONFIG_DEBUG_RODATA:
CONFIG_DEBUG_KERNEL
Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This is recommended so that we can catch kernel bugs sooner. If in doubt, say "Y".
arch/x86_64/Kconfig.debug
The configuration item CONFIG_DEBUG_RODATA:
CONFIG_DEBUG_KERNEL
Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a 2MB TLB anymore. If in doubt, say "N".
arch/i386/Kconfig.debug
The configuration item CONFIG_DEBUG_RODATA:
CONFIG_DEBUG_KERNEL
Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a 2MB TLB anymore. If in doubt, say "N".
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 - D index
Automatically generated (in year 2024). See also LKDDb sources on GitLab