Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2764090ybc; Mon, 25 Nov 2019 03:53:38 -0800 (PST) X-Google-Smtp-Source: APXvYqybQpVhpV+iUiuc4Xbk2LXUEbxRe3rlQukMNaD4PWWoUXIUOfmOH96PIyU0gDXDOh9h4ggH X-Received: by 2002:aa7:da0e:: with SMTP id r14mr18051272eds.49.1574682818203; Mon, 25 Nov 2019 03:53:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574682818; cv=none; d=google.com; s=arc-20160816; b=JLlGWFhCxEuiZ3j6TSNldWs4vQlbN5q2/3ut35+TvWnV/IK6xnFpL/J1JkBuqQN1Hv OWooJ7ShZqnhkV1Jf5xud4idG4AVCIw2XqtHX+fVun8P7so+Jsv6dNKMYFHG8jWW2122 W7Q17xwQYA6RsusMZJI7EMt+645ow5qEx4dsoum/hWYxGJNK90244Ow8Ku6pM0VHvuV7 IlPRBtzmG9lSgXOvIcqNcRprnvJgXq1Y/0nXWWLuotxmfwr5wv1dZqCOqXtUaVEMsm0p djVUPh1D3gqvP2tipgwD6+wDw14XDsbxSm6HIhwaLZjjzaiRapAOeH50+yMxIFA45Ivq trqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=S+EEhkHcLVWZKwT8zqSpAmLXMvzyNuJC5U+oB96yAfY=; b=S05Z6PYD54gD/KObVmojV20wwIenXT8D+NlOXMet/iOZOZXQIXDrRxsKW7rCllmv3P 2SZzhsQqUtTQmE4iJldJuOu0/bPsw4MM4mw3jAXCsSkNzJ6Ki0cJF9XGxcxJr9ypVbgc ghvE9VHTQixfWehrm8+cd0xtjykFeZJOy5Yu86ALlk+tqKnnBTASGJZbMifv8h1UcC9d BDduAjgS3BoMZwfGpzziwpsZ0jqY+p9U1eDZ9dGq0UZIcd6He4TGzDzwNNkaXwagQn1P y3vmhUtd/NJZW9+RrmT2O11oFKxnbEh7WZcBSpd0HaWO3xAD9x1DdsNu/B5MH4YXJBxp 7M3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ks15si4452874ejb.133.2019.11.25.03.53.14; Mon, 25 Nov 2019 03:53:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727363AbfKYLrM (ORCPT + 99 others); Mon, 25 Nov 2019 06:47:12 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42187 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727237AbfKYLrL (ORCPT ); Mon, 25 Nov 2019 06:47:11 -0500 Received: by mail-wr1-f65.google.com with SMTP id a15so17621489wrf.9 for ; Mon, 25 Nov 2019 03:47:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=S+EEhkHcLVWZKwT8zqSpAmLXMvzyNuJC5U+oB96yAfY=; b=sxevm++HvCr1/v6JRNS39UApOmnsBgTHq3bQwMLBSRMrQNGJjNuHEIkgw4q+eQlorq p9qWLeF7Epmm2hY3pGOQojTZ4MvOx6U3Ns5spHyy+m+za+yfYBec8WH19E3EUg7nX8wq dgchBjgIotRPxsi/TN4zcbCNCtJ7E2+FiCQ2yHKU4zyzceiaqT6NjibXg2DFMr2hB38J Cu/h9P0Y90Zwd2KZaNEyVcAR7WhUlRDXRas83Waj/l+agTl7bpJKC+akNcXQMFEunsx9 mgnbfHLe2oa2EdhT429kY43Grsh5BmF5rWo7XCnWNi69te8M4tJZmpaB5SbB9KvwwH6d a0pA== X-Gm-Message-State: APjAAAXxDMSDKA3/fAHD9dYdvobUsRHuHQBT13oPCuSInKODe8xH2c83 y1m42abXBPRHmOdP4f0HMBE= X-Received: by 2002:a5d:538d:: with SMTP id d13mr32994290wrv.304.1574682429742; Mon, 25 Nov 2019 03:47:09 -0800 (PST) Received: from localhost (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id 4sm8426509wmd.33.2019.11.25.03.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 03:47:09 -0800 (PST) Date: Mon, 25 Nov 2019 12:47:08 +0100 From: Michal Hocko To: David Rientjes Cc: Mel Gorman , Andrew Morton , Vlastimil Babka , Linus Torvalds , Andrea Arcangeli , "Kirill A. Shutemov" , Linux Kernel Mailing List , Linux-MM Subject: Re: [patch for-5.3 0/4] revert immediate fallback to remote hugepages Message-ID: <20191125114708.GI31714@dhcp22.suse.cz> References: <08a3f4dd-c3ce-0009-86c5-9ee51aba8557@suse.cz> <20191029151549.GO31513@dhcp22.suse.cz> <20191029143351.95f781f09a9fbf254163d728@linux-foundation.org> <20191105130253.GO22672@dhcp22.suse.cz> <20191106073521.GC8314@dhcp22.suse.cz> <20191113112042.GG28938@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 24-11-19 16:10:53, David Rientjes wrote: [...] > So my question would be: if we know the previous behavior that allowed > excessive swap and recalling into compaction was deemed harmful for the > local node, why do we now believe it cannot be harmful if done for all > system memory? I have to say that I got lost in your explanation. I have already pointed this out in a previous email you didn't reply to. But the main difference to previous __GFP_THISNODE behavior is that it is used along with __GFP_NORETRY and that reduces the overall effort of the reclaim AFAIU. If that is not the case then please be _explicit_ why. Having test results from Andrea would be really appreciated of course but he seems to be too busy to do that (or maybe not interested anymore). I do not see any real reason to hold on this patch based on hand waving though. So either we have some good reasoning to argue against the patch or a good testing results or we should go ahead. As things stand right now, THP success rate went down after your last changes for _very simple_ workloads. This needs addressing which I hope we do agree on. -- Michal Hocko SUSE Labs