[Devel] [PATCH rh9 00/11] ve: printk virtualization and ve_printk() helper

Konstantin Khorenko khorenko at virtuozzo.com
Wed Sep 29 22:24:36 MSK 2021


The most non-trivial part here is the rebase of printk virtualization.

vz8 commit: d63aeb311a64 ("ve/printk: printk virtualization")
Corresponding vz9 commits:
  ve/printk: Introduce struct "log_state" and virtualize
    log_buf/log_buf_len
  ve/printk: Virtualize "prb" and "clear_seq"
  ve/printk: Virtualize syslog_*
  ve/printk: Virtualize console_*
  ve/printk: Virtualize log_wait queue
  ve/printk: Introduce ve_printk()

The kernel with this series applied boots, but cann't check
virtualization itself yet - Container is not starting due to other
missing kernel features.

https://jira.sw.ru/browse/PSBM-133985


Kirill Tkhai (1):
  ve: Use ve_printk() for often kernel messages about user actions

Stanislav Kinsburskiy (3):
  ve/printk: per-CT printk helpers introduced
  ve: use ve_printk() to print VMA address in case of segfault
  ve: network rate-limited VE logging helpers introduced

Vasily Averin (1):
  ve/netfilter: ve_printk for "nf_conntrack: table full"

Vladimir Davydov (6):
  ve/printk: Introduce struct "log_state" and virtualize
    log_buf/log_buf_len
  ve/printk: Virtualize "prb" and "clear_seq"
  ve/printk: Virtualize syslog_*
  ve/printk: Virtualize console_*
  ve/printk: Virtualize log_wait queue
  ve/printk: Introduce ve_printk()

 arch/x86/mm/fault.c                 |   6 +-
 fs/proc/kmsg.c                      |   4 +-
 include/linux/mm.h                  |   6 +-
 include/linux/net.h                 |   5 +
 include/linux/printk.h              |  66 ++++
 include/linux/ve.h                  |   3 +
 kernel/printk/printk.c              | 526 ++++++++++++++++++++--------
 kernel/ve/ve.c                      |   8 +
 lib/nlattr.c                        |   5 +-
 mm/memory.c                         |   4 +-
 net/core/dev.c                      |   9 +-
 net/netfilter/nf_conntrack_core.c   |   6 +-
 net/netfilter/nf_conntrack_expect.c |   6 +-
 13 files changed, 494 insertions(+), 160 deletions(-)

-- 
2.28.0



More information about the Devel mailing list