[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1161263396.17335.42.camel@localhost.localdomain>
Date: Thu, 19 Oct 2006 14:09:55 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>, Oleg Nesterov <oleg@...sign.ru>,
Prarit Bhargava <prarit@...hat.com>,
Chris Wright <chrisw@...s-sol.org>
Subject: Re: [PATCH] tty: ->signal->tty locking
Ar Iau, 2006-10-19 am 14:13 +0200, ysgrifennodd Peter Zijlstra:
> Fix the locking of signal->tty.
>
> Use ->sighand->siglock to protect ->signal->tty; this lock is already used
> by most other members of ->signal/->sighand. And unless we are 'current' or
> the tasklist_lock is held we need ->siglock to access ->signal anyway.
Nice
Acked-by: Alan Cox <alan@...hat.com>
-
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