Skip to contentSkip to conversation

printk for 5.11

GIT PULL Merged Petr Mladek 2 participants 2 messages Dec 14, 2020 – Dec 16, 2020

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.11

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

- Finally allow parallel writes and reads into/from the lockless ringbuffer. But it is not a complete solution. Readers are still serialized against each other. And nested writes are still prevented by printk_safe per-CPU buffers.

- Use ttynull as the ultimate fallback for /dev/console.

- Officially allow to disable console output by using console="" or console=null

- Few code cleanups.

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

We believe that the risk of logbuf_lock removal is small. It is another important step in the printk rework. We are moving slowly and carefully.

----------------------------------------------------------------
John Ogness (2):
printk: inline log_output(),log_store() in vprintk_store()
printk: remove logbuf_lock writer-protection of ringbuffer

Lukas Bulwahn (1):
printk: remove obsolete dead assignment

Nikolay Borisov (1):
printk: ringbuffer: Reference text_data_ring directly in callees.

Petr Mladek (4):
init/console: Use ttynull as a fallback when there is no console printk/console: Allow to disable console output by using console="" or console=null Merge branch 'for-5.11-null-console' into for-linus
Merge branch 'for-5.11' into for-linus

 drivers/tty/Kconfig               |  14 ---
 drivers/tty/Makefile              |   3 +-
 drivers/tty/ttynull.c             |  18 +++
 include/linux/console.h           |   3 +
 init/main.c                       |  10 +-
 kernel/printk/printk.c            | 257 +++++++++++++++++++++++---------------
 kernel/printk/printk_ringbuffer.c |  32 +++--
 7 files changed, 200 insertions(+), 137 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 14 Dec 2020 16:18:32 +0100:

The pull request you sent on Mon, 14 Dec 2020 16:18:32 +0100:

Quoted 1 line

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

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

Thank you!

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