[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1161091781.24237.161.camel@localhost.localdomain>
Date: Tue, 17 Oct 2006 14:29:40 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Oleg Nesterov <oleg@...sign.ru>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel <linux-kernel@...r.kernel.org>,
Prarit Bhargava <prarit@...hat.com>
Subject: Re: [RFC][PATCH] ->signal->tty locking
Ar Maw, 2006-10-17 am 16:33 +0400, ysgrifennodd Oleg Nesterov:
> I sent a patch,
> http://marc.theaimsgroup.com/?l=linux-kernel&m=114268787415193
>
> but it was ignored. Probably I should re-send it.
Definitely - we still see reports of tty slab scribbles
> > Right, use tty_mutex when using the tty, use ->sighand when changing
> > signal->tty.
>
> I think that things like do_task_stat()/do_acct_process() do not need
> global tty_mutex, they can use ->siglock.
Please keep the tty_mutex as it will protect against other stuff later.
Once tty is a bit saner then someone brave can refcount it properly and
that'll make it much prettier.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists