Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756138AbdDMGHY (ORCPT ); Thu, 13 Apr 2017 02:07:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:57770 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbdDMGHX (ORCPT ); Thu, 13 Apr 2017 02:07:23 -0400 Subject: Re: [RFC 1/6] mm, page_alloc: fix more premature OOM due to race with cpuset update To: Anshuman Khandual , linux-mm@kvack.org References: <20170411140609.3787-1-vbabka@suse.cz> <20170411140609.3787-2-vbabka@suse.cz> <95469f35-56e9-7dc4-b7fd-a3e8c25bdff3@linux.vnet.ibm.com> <2dbcff3c-f0f1-b568-f98c-519dd98c6e63@suse.cz> Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Li Zefan , Michal Hocko , Mel Gorman , David Rientjes , Christoph Lameter , Hugh Dickins , Andrea Arcangeli , "Kirill A. Shutemov" From: Vlastimil Babka Message-ID: <3dc5ebcf-f8da-99ca-1bd4-6ee734382443@suse.cz> Date: Thu, 13 Apr 2017 08:07:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <2dbcff3c-f0f1-b568-f98c-519dd98c6e63@suse.cz> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 424 Lines: 9 On 04/13/2017 08:06 AM, Vlastimil Babka wrote: >> Did you really mean node_zonelist() in both the instances above. Because >> that function just picks up either FALLBACK_ZONELIST or NOFALLBACK_ZONELIST >> depending upon the passed GFP flags in the allocation request and does not >> deal with ignoring the passed nodemask. > > Oops, I meant policy_zonelist(), thanks for noticing. Nah, policy_nodemask()... I need coffee.