Messages in this thread | | | Date | Mon, 14 Dec 2020 16:18:32 +0100 | From | Petr Mladek <> | Subject | [GIT PULL] printk for 5.11 |
| |
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(-)
| |