]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: [Config] CONFIG_LOG_BUF_SHIFT=18 on all 64bit arches
authorDan Streetman <ddstreet@canonical.com>
Sun, 2 Jun 2019 14:10:00 +0000 (16:10 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 2 Jul 2019 12:18:49 +0000 (14:18 +0200)
BugLink: https://bugs.launchpad.net/bugs/1824864
All other archs have this value set higher, and the low value of 14
results in a log buffer so small it fills up before systemd-journald
can start and read all the boot time kernel log messages.

Increasing this will result in more memory reserved for the log buffer,
but will avoid missed kernel log messages.

This changes all 64 bit archs to use a shift of 18, which is what
amd64 has been using.

Signed-off-by: Dan Streetman <ddstreet@canonical.com>
Cc: Dimitri John Ledkov <xnox@ubuntu.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
[ kleber: fixed subject line. ]
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian.master/config/annotations
debian.master/config/arm64/config.common.arm64
debian.master/config/ppc64el/config.common.ppc64el
debian.master/config/s390x/config.common.s390x

index ce6eb7e43b9209f2e22015277c7fca0b99be6ad3..84c745fd71e8252112e75a43b2ac96f90556e953 100644 (file)
@@ -9202,7 +9202,7 @@ CONFIG_CROSS_MEMORY_ATTACH                      policy<{'amd64': 'y', 'arm64': '
 CONFIG_USELIB                                   policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_AUDIT                                    policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_IKCONFIG                                 policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
-CONFIG_LOG_BUF_SHIFT                            policy<{'amd64': '18', 'arm64': '14', 'armhf': '17', 'i386': '17', 'ppc64el': '17', 's390x': '17'}>
+CONFIG_LOG_BUF_SHIFT                            policy<{'amd64': '18', 'arm64': '18', 'armhf': '17', 'i386': '17', 'ppc64el': '18', 's390x': '18'}>
 CONFIG_LOG_CPU_MAX_BUF_SHIFT                    policy<{'amd64': '12', 'arm64': '12', 'armhf': '12', 'i386': '12', 'ppc64el': '12', 's390x': '12'}>
 CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT                policy<{'amd64': '13', 'arm64': '13', 'armhf': '13', 'i386': '13', 'ppc64el': '13', 's390x': '13'}>
 CONFIG_NUMA_BALANCING                           policy<{'amd64': 'y', 'arm64': 'y', 'ppc64el': 'y', 's390x': 'y'}>
index a9d728a86b2257e8757cc4ce4478c097e7c65846..fa85762fffe224eb4f7fcaec6e04d9e5b3061741 100644 (file)
@@ -207,7 +207,7 @@ CONFIG_LDM_PARTITION=y
 CONFIG_LIBNVDIMM=y
 CONFIG_LLC2=m
 CONFIG_LOCK_DOWN_KERNEL=y
-CONFIG_LOG_BUF_SHIFT=14
+CONFIG_LOG_BUF_SHIFT=18
 CONFIG_LPC_ICH=m
 CONFIG_LPC_SCH=m
 CONFIG_MAC_PARTITION=y
index 725593551c1aaa0cc35c62b8f1eda97299a6a011..92c16ef4df7aa4152b7e81c65e281b92ea680f5e 100644 (file)
@@ -186,7 +186,7 @@ CONFIG_LDM_PARTITION=y
 CONFIG_LIBNVDIMM=y
 CONFIG_LLC2=m
 # CONFIG_LOCK_DOWN_KERNEL is not set
-CONFIG_LOG_BUF_SHIFT=17
+CONFIG_LOG_BUF_SHIFT=18
 CONFIG_LPC_ICH=m
 CONFIG_LPC_SCH=m
 CONFIG_MAC_PARTITION=y
index 6f15e3db9aa349b56f00c29f5237989027fb7554..16d9d67fb217b198413100f81e9c38639a91c1ca 100644 (file)
@@ -161,7 +161,7 @@ CONFIG_KVM=y
 # CONFIG_LIBNVDIMM is not set
 # CONFIG_LLC2 is not set
 # CONFIG_LOCK_DOWN_KERNEL is not set
-CONFIG_LOG_BUF_SHIFT=17
+CONFIG_LOG_BUF_SHIFT=18
 # CONFIG_LPC_ICH is not set
 # CONFIG_LPC_SCH is not set
 # CONFIG_MAC_PARTITION is not set