From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 31 Aug 2007 19:07:39 -0700 (PDT) From: Christoph Lameter Subject: Re: [RFC 14/26] SLUB: __GFP_MOVABLE and SLAB_TEMPORARY support In-Reply-To: <20070901110410.acea7b2b.kamezawa.hiroyu@jp.fujitsu.com> Message-ID: References: <20070901014107.719506437@sgi.com> <20070901014222.536517408@sgi.com> <20070901110410.acea7b2b.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: KAMEZAWA Hiroyuki Cc: apw@shadowen.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, hch@lst.de, mel@skynet.ie, dgc@sgi.com List-ID: On Sat, 1 Sep 2007, KAMEZAWA Hiroyuki wrote: > On Fri, 31 Aug 2007 18:41:21 -0700 > Christoph Lameter wrote: > > > +#ifndef CONFIG_HIGHMEM > > + if (s->kick || s->flags & SLAB_TEMPORARY) > > + flags |= __GFP_MOVABLE; > > +#endif > > + > > Should I do this as > > #if !defined(CONFIG_HIGHMEM) && !defined(CONFIG_MEMORY_HOTREMOVE) Hmmm.... Not sure... I think the use of __GFP_MOVABLE the way it is up there will change as soon as Mel's antifrag patchset is merged. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org