File tree Expand file tree Collapse file tree 5 files changed +0
-28
lines changed Expand file tree Collapse file tree 5 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ CONFIG_HIGH_RES_TIMERS=y
4
4
CONFIG_PREEMPT_VOLUNTARY=y
5
5
CONFIG_TICK_CPU_ACCOUNTING=y
6
6
CONFIG_LOG_BUF_SHIFT=16
7
- CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
8
7
CONFIG_CGROUPS=y
9
8
CONFIG_BLK_DEV_INITRD=y
10
9
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
Original file line number Diff line number Diff line change 1
1
# CONFIG_CPU_ISOLATION is not set
2
2
CONFIG_LOG_BUF_SHIFT=13
3
- CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
4
3
CONFIG_BLK_DEV_INITRD=y
5
4
# CONFIG_RD_GZIP is not set
6
5
# CONFIG_RD_BZIP2 is not set
Original file line number Diff line number Diff line change 1
1
# CONFIG_CPU_ISOLATION is not set
2
2
CONFIG_LOG_BUF_SHIFT=13
3
- CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
4
3
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
5
4
# CONFIG_SYSFS_SYSCALL is not set
6
5
# CONFIG_FHANDLE is not set
Original file line number Diff line number Diff line change 1
1
# CONFIG_CPU_ISOLATION is not set
2
2
CONFIG_LOG_BUF_SHIFT=16
3
- CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
4
3
CONFIG_BLK_DEV_INITRD=y
5
4
# CONFIG_RD_BZIP2 is not set
6
5
# CONFIG_RD_LZMA is not set
Original file line number Diff line number Diff line change @@ -769,30 +769,6 @@ config LOG_CPU_MAX_BUF_SHIFT
769
769
13 => 8 KB for each CPU
770
770
12 => 4 KB for each CPU
771
771
772
- config PRINTK_SAFE_LOG_BUF_SHIFT
773
- int "Temporary per-CPU printk log buffer size (12 => 4KB, 13 => 8KB)"
774
- range 10 21
775
- default 13
776
- depends on PRINTK
777
- help
778
- Select the size of an alternate printk per-CPU buffer where messages
779
- printed from unsafe contexts are temporary stored. One example would
780
- be NMI messages, another one - printk recursion. The messages are
781
- copied to the main log buffer in a safe context to avoid a deadlock.
782
- The value defines the size as a power of 2.
783
-
784
- Those messages are rare and limited. The largest one is when
785
- a backtrace is printed. It usually fits into 4KB. Select
786
- 8KB if you want to be on the safe side.
787
-
788
- Examples:
789
- 17 => 128 KB for each CPU
790
- 16 => 64 KB for each CPU
791
- 15 => 32 KB for each CPU
792
- 14 => 16 KB for each CPU
793
- 13 => 8 KB for each CPU
794
- 12 => 4 KB for each CPU
795
-
796
772
config PRINTK_INDEX
797
773
bool "Printk indexing debugfs interface"
798
774
depends on PRINTK && DEBUG_FS
You can’t perform that action at this time.
0 commit comments