Re: [PATCH v4 08/13] mm/mempolicy: Create a page allocator for policy

2021-04-15 Thread Feng Tang
On Wed, Apr 14, 2021 at 03:08:19PM +0200, Michal Hocko wrote: > On Wed 17-03-21 11:40:05, Feng Tang wrote: > > From: Ben Widawsky > > > > Add a helper function which takes care of handling multiple preferred > > nodes. It will be called by future patches that need to handle this, > >

Re: [PATCH v4 08/13] mm/mempolicy: Create a page allocator for policy

2021-04-14 Thread Michal Hocko
On Wed 17-03-21 11:40:05, Feng Tang wrote: > From: Ben Widawsky > > Add a helper function which takes care of handling multiple preferred > nodes. It will be called by future patches that need to handle this, > specifically VMA based page allocation, and task based page allocation. > Huge pages

[PATCH v4 08/13] mm/mempolicy: Create a page allocator for policy

2021-03-16 Thread Feng Tang
From: Ben Widawsky Add a helper function which takes care of handling multiple preferred nodes. It will be called by future patches that need to handle this, specifically VMA based page allocation, and task based page allocation. Huge pages don't quite fit the same pattern because they use