Re: [PATCH 3/9] migrate: add hugepage migration code to migrate_pages()

2013-09-10 Thread Naoya Horiguchi
On Tue, Sep 10, 2013 at 03:33:26PM +0100, Mel Gorman wrote: > On Fri, Aug 09, 2013 at 01:21:36AM -0400, Naoya Horiguchi wrote: > > This patch extends check_range() to handle vma with VM_HUGETLB set. > > We will be able to migrate hugepage with migrate_pages(2) after > > applying the enablement patc

Re: [PATCH 3/9] migrate: add hugepage migration code to migrate_pages()

2013-09-10 Thread Mel Gorman
On Fri, Aug 09, 2013 at 01:21:36AM -0400, Naoya Horiguchi wrote: > This patch extends check_range() to handle vma with VM_HUGETLB set. > We will be able to migrate hugepage with migrate_pages(2) after > applying the enablement patch which comes later in this series. > > Note that for larger hugepa

Re: [PATCH 3/9] migrate: add hugepage migration code to migrate_pages()

2013-08-14 Thread Naoya Horiguchi
On Wed, Aug 14, 2013 at 04:41:00PM -0700, Andrew Morton wrote: > On Fri, 9 Aug 2013 01:21:36 -0400 Naoya Horiguchi > wrote: > > > +static void check_hugetlb_pmd_range(struct vm_area_struct *vma, pmd_t *pmd, > > + const nodemask_t *nodes, unsigned long flags, > > +

Re: [PATCH 3/9] migrate: add hugepage migration code to migrate_pages()

2013-08-14 Thread Andrew Morton
On Fri, 9 Aug 2013 01:21:36 -0400 Naoya Horiguchi wrote: > +static void check_hugetlb_pmd_range(struct vm_area_struct *vma, pmd_t *pmd, > + const nodemask_t *nodes, unsigned long flags, > + void *private) > +{ > +#ifdef CONFIG_HUGETLB_PAGE > + int