Re: [PATCH 06/10] migrate: add hugepage migration code to move_pages()

2013-03-26 Thread Naoya Horiguchi
On Tue, Mar 26, 2013 at 11:02:21AM +0100, Michal Hocko wrote: > On Tue 26-03-13 03:06:18, Naoya Horiguchi wrote: > > On Mon, Mar 25, 2013 at 02:36:44PM +0100, Michal Hocko wrote: > > > On Fri 22-03-13 16:23:51, Naoya Horiguchi wrote: > > > > @@ -1164,6 +1175,12 @@ static int do_move_page_to_node_ar

Re: [PATCH 06/10] migrate: add hugepage migration code to move_pages()

2013-03-26 Thread Michal Hocko
On Tue 26-03-13 03:06:18, Naoya Horiguchi wrote: > On Mon, Mar 25, 2013 at 02:36:44PM +0100, Michal Hocko wrote: > > On Fri 22-03-13 16:23:51, Naoya Horiguchi wrote: [...] > > > @@ -1514,8 +1515,9 @@ struct page *follow_page_mask(struct vm_area_struct > > > *vma, > > > if (pmd_none(*pmd)) > > >

Re: [PATCH 06/10] migrate: add hugepage migration code to move_pages()

2013-03-26 Thread Naoya Horiguchi
On Mon, Mar 25, 2013 at 02:36:44PM +0100, Michal Hocko wrote: > On Fri 22-03-13 16:23:51, Naoya Horiguchi wrote: > > This patch extends move_pages() to handle vma with VM_HUGETLB set. > > We will be able to migrate hugepage with move_pages(2) after > > applying the enablement patch which comes late

Re: [PATCH 06/10] migrate: add hugepage migration code to move_pages()

2013-03-25 Thread Michal Hocko
On Fri 22-03-13 16:23:51, Naoya Horiguchi wrote: > This patch extends move_pages() to handle vma with VM_HUGETLB set. > We will be able to migrate hugepage with move_pages(2) after > applying the enablement patch which comes later in this series. > > We avoid getting refcount on tail pages of huge

[PATCH 06/10] migrate: add hugepage migration code to move_pages()

2013-03-22 Thread Naoya Horiguchi
This patch extends move_pages() to handle vma with VM_HUGETLB set. We will be able to migrate hugepage with move_pages(2) after applying the enablement patch which comes later in this series. We avoid getting refcount on tail pages of hugepage, because unlike thp, hugepage is not split and we need