Skip to contentSkip to conversation

printk for 5.12

GIT PULL Merged Petr Mladek 2 participants 2 messages Feb 22, 2021 Memory management

lore
Share & tools
lore
#0 lore raw

Linus,

please pull the latest printk changes from

git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.12

==============================

- New "no_hash_pointers" kernel parameter causes that %p shows raw pointer values instead of hashed ones. It is intended only for debugging purposes. Misuse is prevented by a fat warning message that is inspired by trace_printk().

- Prevent a possible deadlock when flushing printk_safe buffers during panic().

- Fix performance regression caused by the lockless printk ringbuffer. It was visible with huge log buffer and long messages.

- Documentation fix-up.

----------------------------------------------------------------
John Ogness (1):
printk: avoid prb_first_valid_seq() where possible

Lukas Bulwahn (1):
printk: rectify kernel-doc for prb_rec_init_wr()

Muchun Song (1):
printk: fix deadlock when kernel panic

Petr Mladek (2):
Merge branch 'for-5.12-no_hash_pointers' into for-linus Merge branch 'printk-rework' into for-linus

Timur Tabi (3):
lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers
kselftest: add support for skipped tests lib/vsprintf: no_hash_pointers prints all addresses as unhashed

 Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++
 kernel/printk/printk.c                          | 28 ++++++++++++-------
 kernel/printk/printk_ringbuffer.h               |  2 +-
 kernel/printk/printk_safe.c                     | 16 ++++++++---
 lib/test_bitmap.c                               |  3 +--
 lib/test_printf.c                               | 12 +++++++--
 lib/vsprintf.c                                  | 36 +++++++++++++++++++++++--
 tools/testing/selftests/kselftest_module.h      | 18 ++++++++-----
 8 files changed, 103 insertions(+), 27 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 22 Feb 2021 14:35:08 +0100:

The pull request you sent on Mon, 22 Feb 2021 14:35:08 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.12

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b2bec7d8a42a3885d525e821d9354b6b08fd6adf

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html