From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbdAQVYw (ORCPT ); Tue, 17 Jan 2017 16:24:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:51346 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbdAQVYu (ORCPT ); Tue, 17 Jan 2017 16:24:50 -0500 Subject: Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue To: Mel Gorman References: <20170117092954.15413-1-mgorman@techsingularity.net> <20170117092954.15413-2-mgorman@techsingularity.net> <20170117190732.0fc733ec@redhat.com> <2df88f73-a32d-4b71-d4de-3a0ad8831d9a@suse.cz> <20170117202008.pcufk5qencdgkgpj@techsingularity.net> <20170117210749.rzpsavbx5gztsx6o@techsingularity.net> Cc: Jesper Dangaard Brouer , Andrew Morton , Linux Kernel , Linux-MM , Hillf Danton , Michal Hocko From: Vlastimil Babka Message-ID: <39207e24-a937-e4d8-4b2e-a06b68ea9855@suse.cz> Date: Tue, 17 Jan 2017 22:24:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170117210749.rzpsavbx5gztsx6o@techsingularity.net> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/2017 10:07 PM, Mel Gorman wrote: > On Tue, Jan 17, 2017 at 08:20:08PM +0000, Mel Gorman wrote: > > I later recalled that we looked at this before and didn't think a reinit > was necessary because the location of cpuset_current_mems_allowed doesn't > change so I came back and took another look. The location doesn't change > but after the first attempt, we reset ac.nodemask to the given nodemask and > don't recheck current_mems_allowed if the cpuset changed. The application > of memory policies versus cpusets is a mess so it'll take time to pick > apart to see if this is even remotely in the right direction. Yes, I spent most of last 2 days untangling this, so I'll post at least some RFC soon.