Skip to content

tty,vcs: vcs_seek fix + removing con_buf_mtx

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tty,vcs: lseek/VC-release race fixdrivers/tty/vt/vc_screen.c+18 -00 replies
2/2tty,vcs removing con_buf/conf_buf_mtxdrivers/tty/vt/vc_screen.c drivers/tty/vt/vt.c include/linux/vt_kern.h+52 -660 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx

hi,

the vcs lseek method might race with VC removal and cause panic.

Also it seems the vcs is the only one using con_buf and con_buf_mtx, which does not seem necessary any longer.

attached patches:
1/2 - lseek/VC-release race fix
2/2 - removing con_buf and con_buf_mtx

wbr,
jirka

---
 drivers/tty/vt/vc_screen.c |  110 +++++++++++++++++++++++++++-----------------
 drivers/tty/vt/vt.c        |   12 -----
 include/linux/vt_kern.h    |    8 ---
 3 files changed, 67 insertions(+), 63 deletions(-)