LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jiri Olsa <jolsa@redhat.com>
To: alan@lxorguk.ukuu.org.uk, gregkh@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx
Date: Mon,  7 Feb 2011 19:31:23 +0100	[thread overview]
Message-ID: <1297103485-8319-1-git-send-email-jolsa@redhat.com> (raw)

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

             reply	other threads:[~2011-02-07 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 18:31 Jiri Olsa [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297103485-8319-1-git-send-email-jolsa@redhat.com \
    --to=jolsa@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH 0/2] tty,vcs: vcs_seek fix + removing con_buf_mtx' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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