Re: [PATCH v4 10/13] mm/mempolicy: VMA allocation for many preferred

2021-04-14 Thread Michal Hocko
On Wed 17-03-21 11:40:07, Feng Tang wrote: [...] > @@ -2301,10 +2300,26 @@ alloc_pages_vma(gfp_t gfp, int order, struct > vm_area_struct *vma, >* does not allow the current node in its nodemask, we allocate >* the standard way. >*/ > -

[PATCH v4 10/13] mm/mempolicy: VMA allocation for many preferred

2021-03-16 Thread Feng Tang
From: Ben Widawsky This patch implements MPOL_PREFERRED_MANY for alloc_pages_vma(). Like alloc_pages_current(), alloc_pages_vma() needs to support policy based decisions if they've been configured via mbind(2). The temporary "hack" of treating MPOL_PREFERRED and MPOL_PREFERRED_MANY can now be