diff options
author | Paul Menzel <[email protected]> | 2020-08-11 11:29:23 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2020-11-03 09:34:40 +0100 |
commit | 0f7636e1654338c34e3c220c02b2ffad78b6ccc0 (patch) | |
tree | 91f98c59bdc35b0b0f849c2fdfd1959f5bb8e1c0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 8119c4332d253660e0a6b8748fe0749961cfbc97 (diff) |
init/Kconfig: Fix CPU number in LOG_CPU_MAX_BUF_SHIFT description
Currently, LOG_BUF_SHIFT defaults to 17, which is 2 ^ 17 bytes = 128 KB,
and LOG_CPU_MAX_BUF_SHIFT defaults to 12, which is 2 ^ 12 bytes = 4 KB.
Half of 128 KB is 64 KB, so more than 16 CPUs are required for the value
to be used, as then the sum of contributions is greater than 64 KB for
the first time. My guess is, that the description was written with the
configuration values used in the SUSE in mind.
Fixes: 23b2899f7f194f06e ("printk: allow increasing the ring buffer depending on the number of CPUs")
Cc: Luis R. Rodriguez <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Menzel <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions