Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752441AbXA1Pd3 (ORCPT ); Sun, 28 Jan 2007 10:33:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751955AbXA1Pd2 (ORCPT ); Sun, 28 Jan 2007 10:33:28 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:51425 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752440AbXA1Pd1 (ORCPT ); Sun, 28 Jan 2007 10:33:27 -0500 Date: Sun, 28 Jan 2007 15:33:25 +0000 From: Christoph Hellwig To: Peter Zijlstra Cc: Christoph Hellwig , Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: [PATCH 0/7] breaking the global file_list_lock Message-ID: <20070128153325.GC23410@infradead.org> Mail-Followup-To: Christoph Hellwig , Peter Zijlstra , Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar References: <20070128115118.837777000@programming.kicks-ass.net> <20070128144325.GB16552@infradead.org> <20070128151122.GA21159@infradead.org> <1169998144.10987.28.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1169998144.10987.28.camel@lappy> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 23 On Sun, Jan 28, 2007 at 04:29:04PM +0100, Peter Zijlstra wrote: > I shall pursue this direction. Thanks for the information. Btw, if you need this short-term there might be an even simpler solution: - all files go on sb->s_list and stay there until the file is freed - ttys grow their private list instead of beeing mixed up with the per-sb list This already allows nice splitting of the locks into per-sb and per-tty (although all tty_files accesses might be protected by tty_mutex anyway). Especially for the superblock a rcu conversion might be quite easy if nessecary, but all traversals are in what I'd consider more or less slowpathes anyway. > ---end quoted text--- - 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/