Re: [PATCH] mm, page_alloc: don't check cpuset allowed twice in fast-path

2017-01-16 Thread Anshuman Khandual
On 01/06/2017 04:10 PM, Michal Hocko wrote: > On Fri 06-01-17 09:18:05, Vlastimil Babka wrote: >> Since commit 682a3385e773 ("mm, page_alloc: inline the fast path of the >> zonelist iterator") we replace a NULL nodemask with >> cpuset_current_mems_allowed >> in the fast path, so that get_page_from

Re: [PATCH] mm, page_alloc: don't check cpuset allowed twice in fast-path

2017-01-06 Thread Vlastimil Babka
On 01/06/2017 11:40 AM, Michal Hocko wrote: > On Fri 06-01-17 09:18:05, Vlastimil Babka wrote: >> Since commit 682a3385e773 ("mm, page_alloc: inline the fast path of the >> zonelist iterator") we replace a NULL nodemask with >> cpuset_current_mems_allowed >> in the fast path, so that get_page_from

Re: [PATCH] mm, page_alloc: don't check cpuset allowed twice in fast-path

2017-01-06 Thread Michal Hocko
On Fri 06-01-17 09:18:05, Vlastimil Babka wrote: > Since commit 682a3385e773 ("mm, page_alloc: inline the fast path of the > zonelist iterator") we replace a NULL nodemask with > cpuset_current_mems_allowed > in the fast path, so that get_page_from_freelist() filters nodes allowed by > the > cpus

[PATCH] mm, page_alloc: don't check cpuset allowed twice in fast-path

2017-01-06 Thread Vlastimil Babka
Since commit 682a3385e773 ("mm, page_alloc: inline the fast path of the zonelist iterator") we replace a NULL nodemask with cpuset_current_mems_allowed in the fast path, so that get_page_from_freelist() filters nodes allowed by the cpuset via for_next_zone_zonelist_nodemask(). In that case it's poi