From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754641AbXDXUox (ORCPT ); Tue, 24 Apr 2007 16:44:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754642AbXDXUox (ORCPT ); Tue, 24 Apr 2007 16:44:53 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:33418 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754644AbXDXUov (ORCPT ); Tue, 24 Apr 2007 16:44:51 -0400 Date: Tue, 24 Apr 2007 13:44:50 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Andrew Morton cc: Hugh Dickins , Nick Piggin , linux-kernel@vger.kernel.org, pj@sgi.com Subject: Re: Pagecache: find_or_create_page does not call a proper page allocator function In-Reply-To: <20070424134206.95bd6c92.akpm@linux-foundation.org> Message-ID: References: <20070423142919.5809e03f.akpm@linux-foundation.org> <20070423154224.15ebf8f7.akpm@linux-foundation.org> <20070424101116.1cb7512e.akpm@linux-foundation.org> <20070424134206.95bd6c92.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 On Tue, 24 Apr 2007, Andrew Morton wrote: > > I would say that the filesystem is broke if it has such expectations > > regardless of page migration. > > Others disagree ;) > > The filesystem has *told* the core kernel what its allocation constraints > are by setting up mapping_gfp_mask(). If the core kernel stops honouring > that request then it is core kernel which is broken. Then I think we should disable page migration for allocations that do not allow access to the policy zone. That would fix it.