Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-30 Thread Marcelo Tosatti
On Fri, May 30, 2014 at 08:48:41AM -0500, Christoph Lameter wrote: > On Thu, 29 May 2014, Andrew Morton wrote: > > > > > > > if (!nodemask && gfp_zone(gfp_mask) < policy_zone) > > > nodemask = _states[N_ONLINE]; > > > > OK, thanks, I made the patch go away for now. > > > > And

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-30 Thread Christoph Lameter
On Thu, 29 May 2014, Andrew Morton wrote: > > > > if (!nodemask && gfp_zone(gfp_mask) < policy_zone) > > nodemask = _states[N_ONLINE]; > > OK, thanks, I made the patch go away for now. > And another issue is that the policy_zone may be highmem on 32 bit platforms which will

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-30 Thread Christoph Lameter
On Thu, 29 May 2014, Andrew Morton wrote: if (!nodemask gfp_zone(gfp_mask) policy_zone) nodemask = node_states[N_ONLINE]; OK, thanks, I made the patch go away for now. And another issue is that the policy_zone may be highmem on 32 bit platforms which will result in

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-30 Thread Marcelo Tosatti
On Fri, May 30, 2014 at 08:48:41AM -0500, Christoph Lameter wrote: On Thu, 29 May 2014, Andrew Morton wrote: if (!nodemask gfp_zone(gfp_mask) policy_zone) nodemask = node_states[N_ONLINE]; OK, thanks, I made the patch go away for now. And another issue is that

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Andrew Morton
On Thu, 29 May 2014 16:01:55 -0700 (PDT) David Rientjes wrote: > There are still three issues with this, two of which are only minor and > one that needs more thought: > > (1) this doesn't affect only cpusets which the changelog indicates, it > also bypasses mempolicies for GFP_DMA and

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread David Rientjes
On Thu, 29 May 2014, Marcelo Tosatti wrote: > Zone specific allocations, such as GFP_DMA32, should not be restricted > to cpusets allowed node list: the zones which such allocations demand > might be contained in particular nodes outside the cpuset node list. > > Necessary for the following

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Andrew Morton
On Thu, 29 May 2014 15:43:03 -0300 Marcelo Tosatti wrote: > > Zone specific allocations, such as GFP_DMA32, should not be restricted > to cpusets allowed node list: the zones which such allocations demand > might be contained in particular nodes outside the cpuset node list. > > Necessary for

[PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Marcelo Tosatti
Zone specific allocations, such as GFP_DMA32, should not be restricted to cpusets allowed node list: the zones which such allocations demand might be contained in particular nodes outside the cpuset node list. Necessary for the following usecase: - driver which requires zone specific memory

[PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Marcelo Tosatti
Zone specific allocations, such as GFP_DMA32, should not be restricted to cpusets allowed node list: the zones which such allocations demand might be contained in particular nodes outside the cpuset node list. Necessary for the following usecase: - driver which requires zone specific memory

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Andrew Morton
On Thu, 29 May 2014 15:43:03 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: Zone specific allocations, such as GFP_DMA32, should not be restricted to cpusets allowed node list: the zones which such allocations demand might be contained in particular nodes outside the cpuset node list.

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread David Rientjes
On Thu, 29 May 2014, Marcelo Tosatti wrote: Zone specific allocations, such as GFP_DMA32, should not be restricted to cpusets allowed node list: the zones which such allocations demand might be contained in particular nodes outside the cpuset node list. Necessary for the following usecase:

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-29 Thread Andrew Morton
On Thu, 29 May 2014 16:01:55 -0700 (PDT) David Rientjes rient...@google.com wrote: There are still three issues with this, two of which are only minor and one that needs more thought: (1) this doesn't affect only cpusets which the changelog indicates, it also bypasses mempolicies