summaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMohammed Khajapasha <mkhaja@codeaurora.org>2015-09-04 20:33:31 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-09-06 04:04:46 -0700
commit20f23e546e28898062efb3ed6c7e6f7a5585c099 (patch)
treea48109500d0c93247b49b6fbfcced7c3a23937f3 /init/Kconfig
parent6aab18ee11149b4e2d00c0fd8da3a54661979226 (diff)
printk: Make the console flush configurable in hotplug path
The thread which initiates the hot plug can get scheduled out, while trying to acquire the console lock, thus increasing the hot plug latency. This option allows to selectively disable the console flush and in turn reduce the hot plug latency. Change-Id: I42507804d321b29b7761146a6c175d959bf79925 Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org> Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ec2342b3befe..a73b64531d69 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -850,6 +850,16 @@ config LOG_BUF_SHIFT
13 => 8 KB
12 => 4 KB
+config CONSOLE_FLUSH_ON_HOTPLUG
+ bool "Enable console flush configurable in hot plug code path"
+ depends on HOTPLUG_CPU
+ def_bool n
+ help
+ In cpu hot plug path console lock acquire and release causes the
+ console to flush. If console lock is not free hot plug latency
+ increases. So make console flush configurable in hot plug path
+ and default disabled to help in cpu hot plug latencies.
+
config LOG_CPU_MAX_BUF_SHIFT
int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)"
depends on SMP