From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Arjan van de Ven <arjan@infradead.org>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: PATCH: Lock tty directly in acct layer
Date: Wed, 16 Aug 2006 18:09:54 +0100 [thread overview]
Message-ID: <1155748194.24077.386.camel@localhost.localdomain> (raw)
In-Reply-To: <1155745460.3023.57.camel@laptopd505.fenrus.org>
Ar Mer, 2006-08-16 am 18:24 +0200, ysgrifennodd Arjan van de Ven:
> > - read_lock(&tasklist_lock); /* pin current->signal */
> > + mutex_lock(&tty_mutex);
> > ac.ac_tty = current->signal->tty ?
>
> but.. can't ->signal still change, even if signal->tty isn't ?
I'm not sure, thats a good question (as if so is how to lock it). Will
investigate.
prev parent reply other threads:[~2006-08-16 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 16:36 Alan Cox
2006-08-16 16:24 ` Arjan van de Ven
2006-08-16 17:09 ` Alan Cox [this message]
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=1155748194.24077.386.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®