diff options
author | Petri Gynther <pgynther@google.com> | 2019-03-28 20:39:06 -0700 |
---|---|---|
committer | Petri Gynther <pgynther@google.com> | 2019-03-29 15:56:26 +0000 |
commit | 7bc52af164e11febaa18130fe664c4275d2bca4b (patch) | |
tree | e7c18bae2851489dda5eda846e33763048321209 | |
parent | e5c3093f08a5d829bf482a030be2307253f275a4 (diff) |
arm64/configs: bonito: simplify log buffer allocationandroid-q-preview-3_r0.4
Switch to 1 MiB static log buffer in __log_buf[]:
define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT)
static char __log_buf[__LOG_BUF_LEN] __aligned(LOG_ALIGN);
instead of having the log buffer reallocated at boot by:
setup_log_buf()
log_buf_add_cpu()
log_buf_len_update()
new_log_buf = memblock_virt_alloc_nopanic()
There is no need to do this reallocation for the log buffer.
Change-Id: I81b9f1e2a89fe9e16dd702bda968c88877041083
Signed-off-by: Petri Gynther <pgynther@google.com>
-rw-r--r-- | arch/arm64/configs/bonito_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/configs/bonito_defconfig b/arch/arm64/configs/bonito_defconfig index cbe3b551c306..9635cb34b48f 100644 --- a/arch/arm64/configs/bonito_defconfig +++ b/arch/arm64/configs/bonito_defconfig @@ -15,7 +15,7 @@ CONFIG_RCU_NOCB_CPU=y CONFIG_RCU_NOCB_CPU_ALL=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_CPU_MAX_BUF_SHIFT=17 +CONFIG_LOG_BUF_SHIFT=20 CONFIG_CGROUP_FREEZER=y CONFIG_CPUSETS=y CONFIG_CGROUP_CPUACCT=y |