Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756864AbYLaWyj (ORCPT ); Wed, 31 Dec 2008 17:54:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752326AbYLaWyb (ORCPT ); Wed, 31 Dec 2008 17:54:31 -0500 Received: from nlpi053.sbcis.sbc.com ([207.115.36.82]:39291 "EHLO nlpi053.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbYLaWyb (ORCPT ); Wed, 31 Dec 2008 17:54:31 -0500 Date: Wed, 31 Dec 2008 16:53:28 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@quilx.com To: Andrew Morton cc: miaox@cn.fujitsu.com, menage@google.com, penberg@cs.helsinki.fi, mpm@selenic.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] cpuset,mm: fix allocating page cache/slab object on the unallowed node when memory spread is set In-Reply-To: <20081230142805.3c6f78e3.akpm@linux-foundation.org> Message-ID: References: <49547B93.5090905@cn.fujitsu.com> <20081230142805.3c6f78e3.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 18 On Tue, 30 Dec 2008, Andrew Morton wrote: > d) How does slub handle this problem? SLUB understands memory policies to apply to the pages from which objects are acquired. MPOL_INTERLEAVE applies to the pages acquired by the allocator not to individual objects acquired by the user of the allocator from these pages. With that point of view most of the memory policy handling can be pushed into the page allocator. -- 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/