summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-04-25 12:46:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-04-25 12:46:48 -0700
commit7ec85f3e089aa423a69559bf4555b6218b5a2ef7 (patch)
tree962f8ecccc876a1ad757bc1080bd4ffd8751e33b /init
parentdf45da57cbd35715d590a36a12968a94508ccd1f (diff)
parentbee43904dc774b35bb159693ff3f3ff222590bb1 (diff)
downloadlinux-7ec85f3e089aa423a69559bf4555b6218b5a2ef7.tar.gz
linux-7ec85f3e089aa423a69559bf4555b6218b5a2ef7.tar.bz2
linux-7ec85f3e089aa423a69559bf4555b6218b5a2ef7.zip
Merge tag 'printk-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk updates from Petr Mladek: - Code cleanup and dead code removal * tag 'printk-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: printk: Remove obsoleted check for non-existent "user" object lib/vsprintf: Use isodigit() for the octal number check Remove orphaned CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig24
1 files changed, 0 insertions, 24 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c88bb30a8b0b..04acc3f80538 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -765,30 +765,6 @@ config LOG_CPU_MAX_BUF_SHIFT
13 => 8 KB for each CPU
12 => 4 KB for each CPU
-config PRINTK_SAFE_LOG_BUF_SHIFT
- int "Temporary per-CPU printk log buffer size (12 => 4KB, 13 => 8KB)"
- range 10 21
- default 13
- depends on PRINTK
- help
- Select the size of an alternate printk per-CPU buffer where messages
- printed from unsafe contexts are temporary stored. One example would
- be NMI messages, another one - printk recursion. The messages are
- copied to the main log buffer in a safe context to avoid a deadlock.
- The value defines the size as a power of 2.
-
- Those messages are rare and limited. The largest one is when
- a backtrace is printed. It usually fits into 4KB. Select
- 8KB if you want to be on the safe side.
-
- Examples:
- 17 => 128 KB for each CPU
- 16 => 64 KB for each CPU
- 15 => 32 KB for each CPU
- 14 => 16 KB for each CPU
- 13 => 8 KB for each CPU
- 12 => 4 KB for each CPU
-
config PRINTK_INDEX
bool "Printk indexing debugfs interface"
depends on PRINTK && DEBUG_FS