[Devel] [PATCH vz10 v5 0/2] fix inconsistent dmesg output for segfaults in CT

Konstantin Khorenko khorenko at virtuozzo.com
Wed Dec 3 17:49:26 MSK 2025


These patches fix incorrect segfault reporting in the log buffer.

v2: introduced task_pid_ve_nr
v3: used tsk instead of current in task_pid_ve_nr
v4: used task_ve guard helpers
v5:
  - fix loglevel detection against CT's init pidns
  - ve_ns has been renamed to ve_nsproxy in order not to mess with VE namespace
  - use new, bright and shiny __free(put_ve) attribute
  - added a comment why we don't check ve returned by get_task_ve() for NULL

https://virtuozzo.atlassian.net/browse/VSTOR-119875

Aleksei Oladko (2):
  ve: Introduce task_pid_ve_nr() helper
  ve: Fix inconsistent dmesg output for segfaults in CT

 arch/x86/include/asm/stacktrace.h |  1 +
 arch/x86/kernel/dumpstack.c       | 11 ++++++++---
 arch/x86/mm/fault.c               |  7 ++++---
 include/linux/ve.h                | 19 +++++++++++++++++++
 4 files changed, 32 insertions(+), 6 deletions(-)

-- 
2.43.0



More information about the Devel mailing list