From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 May 2007 10:41:18 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [Patch] memory unplug v3 [1/4] page isolation Message-Id: <20070523104118.63a18e42.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: References: <20070522155824.563f5873.kamezawa.hiroyu@jp.fujitsu.com> <20070522160151.3ae5e5d7.kamezawa.hiroyu@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-mm@kvack.org, mel@csn.ul.ie, y-goto@jp.fujitsu.com List-ID: On Tue, 22 May 2007 11:38:56 -0700 (PDT) Christoph Lameter wrote: > On Tue, 22 May 2007, KAMEZAWA Hiroyuki wrote: > > > Index: devel-2.6.22-rc1-mm1/mm/page_isolation.c > > =================================================================== > > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > > +++ devel-2.6.22-rc1-mm1/mm/page_isolation.c 2007-05-22 15:12:28.000000000 +0900 > > @@ -0,0 +1,67 @@ > > +/* > > + * linux/mm/page_isolation.c > > + */ > > + > > +#include > > +#include > > +#include > > + > > +#define ROUND_DOWN(x,y) ((x) & ~((y) - 1)) > > +#define ROUND_UP(x,y) (((x) + (y) -1) & ~((y) - 1)) > > Use the common definitions like ALIGN in kernel.h and the rounding > functions in log2.h? > yes. I should do so. Thanks, -Kmae -- 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