From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754109AbYHaOyX (ORCPT ); Sun, 31 Aug 2008 10:54:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753047AbYHaOxz (ORCPT ); Sun, 31 Aug 2008 10:53:55 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:38072 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbYHaOxy (ORCPT ); Sun, 31 Aug 2008 10:53:54 -0400 Message-ID: <48BAAFB9.4050302@cs.helsinki.fi> Date: Sun, 31 Aug 2008 17:50:33 +0300 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Christoph Lameter CC: akpm@linux-foundation.org, Alexander Viro , Christoph Hellwig , Christoph Lameter , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Mel Gorman , andi@firstfloor.org, Rik van Riel , mpm@selenic.com, Dave Chinner Subject: Re: [patch 2/3] dentries: Add constructor References: <20080825212035.861870487@quilx.com> <20080825212053.500920055@quilx.com> In-Reply-To: <20080825212053.500920055@quilx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Lameter wrote: > In order to support defragmentation on the dentry cache we need to have > a determined object state at all times. Without a constructor the object > would have a random state after allocation. > > So provide a constructor. Applied, thanks!