diff mbox series

[v2] MIPS: Loongson: Make default kernel log buffer size as 256KB for Loongson3

Message ID 1571115101-22464-1-git-send-email-yangtiezhu@loongson.cn (mailing list archive)
State Superseded
Delegated to: Paul Burton
Headers show
Series [v2] MIPS: Loongson: Make default kernel log buffer size as 256KB for Loongson3 | expand

Commit Message

Tiezhu Yang Oct. 15, 2019, 4:51 a.m. UTC
When I update kernel with loongson3_defconfig based on the Loongson 3A3000
platform, then using dmesg command to show kernel ring buffer, the initial
kernel messages have disappeared due to the log buffer is too small, it is
better to change the default kernel log buffer size from 16KB to 256KB.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---

v2: modify the default kernel log buffer size to 256KB suggested by Huacai

 arch/mips/configs/loongson3_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig
index 90ee008..4f750e6 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -12,7 +12,7 @@  CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-CONFIG_LOG_BUF_SHIFT=14
+CONFIG_LOG_BUF_SHIFT=18
 CONFIG_MEMCG=y
 CONFIG_MEMCG_SWAP=y
 CONFIG_BLK_CGROUP=y