mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
8951eb1530
Introduce Kconfig symbol PRINT_STACK_DEPTH and use it to initialize kstack_depth_to_print. Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config DEBUG_TLB_SANITY
|
|
bool "Debug TLB sanity"
|
|
depends on DEBUG_KERNEL && MMU
|
|
help
|
|
Enable this to turn on TLB sanity check on each entry to userspace.
|
|
This check can spot missing TLB invalidation/wrong PTE permissions/
|
|
premature page freeing.
|
|
|
|
If unsure, say N.
|
|
|
|
config LD_NO_RELAX
|
|
bool "Disable linker relaxation"
|
|
default y
|
|
help
|
|
Enable this function to disable link-time optimizations.
|
|
The default linker behavior is to combine identical literal
|
|
values to reduce code size and remove unnecessary overhead from
|
|
assembler-generated 'longcall' sequences.
|
|
Enabling this option improves the link time but increases the
|
|
code size, and possibly execution time.
|
|
|
|
config S32C1I_SELFTEST
|
|
bool "Perform S32C1I instruction self-test at boot"
|
|
default y
|
|
help
|
|
Enable this option to test S32C1I instruction behavior at boot.
|
|
Correct operation of this instruction requires some cooperation from hardware
|
|
external to the processor (such as bus bridge, bus fabric, or memory controller).
|
|
It is easy to make wrong hardware configuration, this test should catch it early.
|
|
|
|
Say 'N' on stable hardware.
|
|
|
|
config PRINT_STACK_DEPTH
|
|
int "Stack depth to print" if DEBUG_KERNEL
|
|
default 64
|
|
help
|
|
This option allows you to set the stack depth that the kernel
|
|
prints in stack traces.
|