Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 19 Sep 2002 17:28:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 19 Sep 2002 17:28:00 -0400 Received: from mx2.elte.hu ([157.181.151.9]:43430 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 19 Sep 2002 17:27:09 -0400 Date: Thu, 19 Sep 2002 23:39:36 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: William Lee Irwin III , Subject: Re: [patch] generic-pidhash-2.5.36-J2, BK-curr In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1013 Lines: 29 On Thu, 19 Sep 2002, Linus Torvalds wrote: > I'm also applying the session handling changes to tty_io.c as a separate > changeset, since the resulting code is certainly cleaner and reading > peoples areguments and looking at the code have made me think it _is_ > correct after all. yes, i too think it's correct. In fact this is partly proven by one piece of code in the old tty_io.c file: void disassociate_ctty(int on_exit) [...] read_lock(&tasklist_lock); for_each_process(p) if (p->session == current->session) p->tty = NULL; read_unlock(&tasklist_lock); ie. if the SID-based iteration is incorrect, then the above code is incorrect already - but we never saw any problems in this area. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/