lkml.org 
[lkml]   [2013]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/9] migrate: make core migration code aware of hugepage
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
> > > --- v3.8.orig/include/linux/mempolicy.h
> > > +++ v3.8/include/linux/mempolicy.h
> > > @@ -173,7 +173,7 @@ extern int mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
> > > /* Check if a vma is migratable */
> > > static inline int vma_migratable(struct vm_area_struct *vma)
> > > {
> > > - if (vma->vm_flags & (VM_IO | VM_HUGETLB | VM_PFNMAP))
> > > + if (vma->vm_flags & (VM_IO | VM_PFNMAP))
> > > return 0;
> >
> > Is this safe? At least check_*_range don't seem to be hugetlb aware.
>
> Ohh, they become in 5/9. Should that one be reordered then?

OK, I'll shift this change after 5/9 patch.

Naoya


\
 
 \ /
  Last update: 2013-03-19 03:01    [W:0.067 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site