Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932490AbWAKWw0 (ORCPT ); Wed, 11 Jan 2006 17:52:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932505AbWAKWw0 (ORCPT ); Wed, 11 Jan 2006 17:52:26 -0500 Received: from holomorphy.com ([66.93.40.71]:25306 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S932490AbWAKWwZ (ORCPT ); Wed, 11 Jan 2006 17:52:25 -0500 Date: Wed, 11 Jan 2006 14:52:02 -0800 From: William Lee Irwin III To: Adam Litke Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 2/2] hugetlb: synchronize alloc with page cache insert Message-ID: <20060111225202.GE9091@holomorphy.com> References: <1136920951.23288.5.camel@localhost.localdomain> <1137016960.9672.5.camel@localhost.localdomain> <1137018263.9672.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1137018263.9672.10.camel@localhost.localdomain> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 668 Lines: 15 On Wed, Jan 11, 2006 at 04:24:23PM -0600, Adam Litke wrote: > My only concern is if I am using the correct lock for the job here. ->i_lock looks rather fishy. It may have been necessary when ->i_blocks was used for nefarious purposes, but without ->i_blocks fiddling, it's not needed unless I somehow missed the addition of some custom fields to hugetlbfs inodes and their modifications by any of these functions. -- wli - 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/