]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2020 18:45:11 +0000 (10:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2020 18:45:11 +0000 (10:45 -0800)
commit84baed21b05c58dddb18fee1efbf10d2a5991b00
tree7ef2b73e6174d355d625c2a05377b14c0939cca7
parentd3bb8411bbfd6649ede8cfa09a7a5b0ff7ef1873
parent9a6992c269482924b53d5528901e015b975020c8
Merge tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux

Pull printk updates from Petr Mladek:

 - 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 disabling console output by using console="" or
   console=null

 - A few code cleanups

* tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
  printk: remove logbuf_lock writer-protection of ringbuffer
  printk: inline log_output(),log_store() in vprintk_store()
  printk: remove obsolete dead assignment
  printk/console: Allow to disable console output by using console="" or console=null
  init/console: Use ttynull as a fallback when there is no console
  printk: ringbuffer: Reference text_data_ring directly in callees.
drivers/tty/Kconfig
drivers/tty/Makefile
include/linux/console.h
init/main.c
kernel/printk/printk.c