Re: [PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 11:18:17PM -0600, Simon Jeons wrote: > > +static int > > +change_prot_numa_range(struct mm_struct *mm, struct vm_area_struct *vma, > > + unsigned long address) > > +{ > > + pgd_t *pgd; > > + pud_t *pud; > > + pmd_t *pmd; > > + pte_t *pte, *_pte; >

Re: [PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 11:18:17PM -0600, Simon Jeons wrote: +static int +change_prot_numa_range(struct mm_struct *mm, struct vm_area_struct *vma, + unsigned long address) +{ + pgd_t *pgd; + pud_t *pud; + pmd_t *pmd; + pte_t *pte, *_pte; + struct page

Re: [PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2013-01-04 Thread Simon Jeons
On Fri, 2012-12-07 at 10:23 +, Mel Gorman wrote: > From: Lee Schermerhorn > > NOTE: Once again there is a lot of patch stealing and the end result > is sufficiently different that I had to drop the signed-offs. > Will re-add if the original authors are ok with that. > > This

Re: [PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2013-01-04 Thread Simon Jeons
On Fri, 2012-12-07 at 10:23 +, Mel Gorman wrote: From: Lee Schermerhorn lee.schermerh...@hp.com NOTE: Once again there is a lot of patch stealing and the end result is sufficiently different that I had to drop the signed-offs. Will re-add if the original authors are ok with

[PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2012-12-07 Thread Mel Gorman
From: Lee Schermerhorn NOTE: Once again there is a lot of patch stealing and the end result is sufficiently different that I had to drop the signed-offs. Will re-add if the original authors are ok with that. This patch adds another mbind() flag to request "lazy migration". The

[PATCH 22/49] mm: mempolicy: Add MPOL_MF_LAZY

2012-12-07 Thread Mel Gorman
From: Lee Schermerhorn lee.schermerh...@hp.com NOTE: Once again there is a lot of patch stealing and the end result is sufficiently different that I had to drop the signed-offs. Will re-add if the original authors are ok with that. This patch adds another mbind() flag to request