From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934527AbaE3Voh (ORCPT ); Fri, 30 May 2014 17:44:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62140 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932299AbaE3Vog (ORCPT ); Fri, 30 May 2014 17:44:36 -0400 Date: Fri, 30 May 2014 18:43:45 -0300 From: Marcelo Tosatti To: Christoph Lameter Cc: Andrew Morton , David Rientjes , Li Zefan , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Lai Jiangshan , Mel Gorman , Tejun Heo , Andi Kleen Subject: Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4) Message-ID: <20140530214344.GA14720@amt.cnet> References: <20140523193706.GA22854@amt.cnet> <20140526185344.GA19976@amt.cnet> <53858A06.8080507@huawei.com> <20140528224324.GA1132@amt.cnet> <20140529184303.GA20571@amt.cnet> <20140529161253.73ff978f723972f503123fe8@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 the policy_zone may be highmem on 32 bit > platforms which will result in ZONE_NORMAL to be exempted. > > policy zone can actually even be ZONE_DMA for some platforms. The > check would not be useful at all on those. > > Ignoring the containing cpuset only makes sense for GFP_DMA32 on > 64 bit platforms and for GFP_DMA on platforms where there is an actual > difference in the address spaces supported by GFP_DMA (such as x86). > > Generally I think this is only useful for platforms that attempt to > support legacy devices only able to DMA to a portion of the memory address > space and that at the same time support NUMA for large address spaces. > This is a contradiction on the one hand this is a high end system and on > the other hand it attempts to support crippled DMA devices? OK we will handle this in userspace.