Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757175Ab1DOVN6 (ORCPT ); Fri, 15 Apr 2011 17:13:58 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:50305 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756906Ab1DOVN6 (ORCPT ); Fri, 15 Apr 2011 17:13:58 -0400 Date: Fri, 15 Apr 2011 17:13:34 -0400 From: Christoph Hellwig To: Peter Zijlstra Cc: Christoph Hellwig , Linus Torvalds , Dave Jones , Linux Kernel , William Irwin , Ingo Molnar Subject: Re: hugetlb locking bug. Message-ID: <20110415211334.GA24870@infradead.org> References: <20110415201652.GA5131@redhat.com> <20110415205712.GA13049@infradead.org> <1302901766.2035.39.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1302901766.2035.39.camel@laptop> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 634 Lines: 13 On Fri, Apr 15, 2011 at 11:09:26PM +0200, Peter Zijlstra wrote: > Is there a sane reason they do their own magic, and thus need a copy of > the logic, instead of using the generic code that already has it? There is not need to use the inode hash for purely in-memory filesystem. The dcache tells us if an entry already exists, so there is no need to a lru list, hash or other overhead. -- 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/