LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx
@ 2011-02-07 18:31 Jiri Olsa
  2011-02-07 18:31 ` [PATCH 1/2] tty,vcs: lseek/VC-release race fix Jiri Olsa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jiri Olsa @ 2011-02-07 18:31 UTC (permalink / raw)
  To: alan, gregkh; +Cc: linux-kernel

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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-17 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07 18:31 [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx Jiri Olsa
2011-02-07 18:31 ` [PATCH 1/2] tty,vcs: lseek/VC-release race fix Jiri Olsa
2011-02-07 18:31 ` [PATCH 2/2] tty,vcs removing con_buf/conf_buf_mtx Jiri Olsa
2011-02-17 13:55 ` [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).