Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757AbXISRIm (ORCPT ); Wed, 19 Sep 2007 13:08:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751842AbXISRIc (ORCPT ); Wed, 19 Sep 2007 13:08:32 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:49981 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751713AbXISRIb (ORCPT ); Wed, 19 Sep 2007 13:08:31 -0400 Date: Wed, 19 Sep 2007 10:08:31 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Andrew Morton cc: Ethan Solomita , linux-mm@kvack.org, LKML Subject: Re: [PATCH 1/6] cpuset write dirty map In-Reply-To: <20070918191405.d9b43470.akpm@linux-foundation.org> Message-ID: References: <469D3342.3080405@google.com> <46E741B1.4030100@google.com> <46E742A2.9040006@google.com> <20070914161536.3ec5c533.akpm@linux-foundation.org> <46F072A5.8060008@google.com> <20070918191405.d9b43470.akpm@linux-foundation.org> 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: 890 Lines: 18 On Tue, 18 Sep 2007, Andrew Morton wrote: > How hard would it be to handle the allocation failure in a more friendly > manner? Say, if the allocation failed then point mapping->dirty_nodes at > some global all-ones nodemask, and then special-case that nodemask in the > freeing code? Ack. However, the situation dirty_nodes == NULL && inode dirty then means that unknown nodes are dirty. If we are later are successful with the alloc and we know that the pages are dirty in the mapping then the initial dirty_nodes must be all ones. If this is the first page to be dirtied then we can start with a dirty_nodes mask of all zeros like now. - 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/