Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:33:00PM +0100, Michal Hocko wrote: > On Mon 18-03-13 16:22:24, Michal Hocko wrote: > > On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: > > [...] > > > diff --git v3.8.orig/include/linux/mempolicy.h > > > v3.8/include/linux/mempolicy.h > > > index 0d7df39..2e475b5

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Mon 18-03-13 16:22:24, Michal Hocko wrote: > On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: > [...] > > diff --git v3.8.orig/include/linux/mempolicy.h > > v3.8/include/linux/mempolicy.h > > index 0d7df39..2e475b5 100644 > > --- v3.8.orig/include/linux/mempolicy.h > > +++

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] > diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h > index 0d7df39..2e475b5 100644 > --- v3.8.orig/include/linux/mempolicy.h > +++ v3.8/include/linux/mempolicy.h > @@ -173,7 +173,7 @@ extern int mpol_to_str(char

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 --- v3.8.orig/include/linux/mempolicy.h +++ v3.8/include/linux/mempolicy.h @@ -173,7 +173,7 @@ extern int mpol_to_str(char

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Mon 18-03-13 16:22:24, Michal Hocko wrote: On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 --- v3.8.orig/include/linux/mempolicy.h +++ v3.8/include/linux/mempolicy.h

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:33:00PM +0100, Michal Hocko wrote: On Mon 18-03-13 16:22:24, Michal Hocko wrote: On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 ---

[PATCH 2/9] migrate: make core migration code aware of hugepage

2013-02-21 Thread Naoya Horiguchi
Before enabling each user of page migration to support hugepage, this patch adds necessary changes on core migration code. The main change is that the list of pages to migrate can link not only LRU pages, but also hugepages. Along with this, functions such as migrate_pages() and

[PATCH 2/9] migrate: make core migration code aware of hugepage

2013-02-21 Thread Naoya Horiguchi
Before enabling each user of page migration to support hugepage, this patch adds necessary changes on core migration code. The main change is that the list of pages to migrate can link not only LRU pages, but also hugepages. Along with this, functions such as migrate_pages() and