Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp74788ybx; Tue, 29 Oct 2019 14:35:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyuEmlmoImHGIGnbwYHKm1XhwNvvUYy4kdyyz931MCK11y6nBxC5b5BwOMMATgQAnnqHz7 X-Received: by 2002:a17:906:6094:: with SMTP id t20mr5618018ejj.316.1572384934556; Tue, 29 Oct 2019 14:35:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572384934; cv=none; d=google.com; s=arc-20160816; b=qf9J6I20imG+np6huP1jFzE4VIxjbECgqGovuuKXqAl8GsZPRyHc91zt/+rE6cLOPG WwrWqBzmqXT3AQ6qpPgosBZGbwpfzvYizY1qQ0PQ9ymqP074D4DC3K5ihY4+8lIaAsWq +nHcTZIGuqP7SorVvx3i6Mav6yoI/4g3K7KMSDSADrvj6hKyXvD0HPlOiXz1g3W3KBTv sXwNOQ88HA6qDdiLRuQOCbYLNqILyxn6f7llwoAeF1D6sTLcxWlQN24shaXQ4cV1slzJ x5L1b7R/KNzeB+qZMUoGAkDuU4aO2in67qd5XF9XZB4yWVuHUjloSrgckV2e+Z8jEM8N +2eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3BMWsNCIARPRGo7z/t1Pr3pazbqJYQBbCjr8F4FdVWo=; b=v1+h/w1Yr49oy4pXEopcJvFMzVep3zWGhJHNG5GxbM/VQoyGK7F8FHKt7iLPVg5wze fG2XDa/DaKiN53ssY5hilQN+5j09e/PTlPueBLifYbmoHISQDyU+bmWwLWUZwqoN74uX pR7HZBJpTPWObpK0Bp1sFGwubyPkSiFzDdBiCF0W8ydFNmEjBGSNtbFC+HFKmoM0pej2 rfWXwkMIbqY8mR7rUexPLZhPc0JuKQ/ki9MjK/F6Xy4PKnH5Dd+52O2WQlBfz4AOUCnO Rb4dB7oRZOH2xrGl3y8V2rHg1AHU7FeZdG0iuih0kHZxk3yEoh7RHccMzppVh1mIKl2U E43A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ig2sslsC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si12546957edj.448.2019.10.29.14.35.11; Tue, 29 Oct 2019 14:35:34 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=Ig2sslsC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729155AbfJ2Vdx (ORCPT + 99 others); Tue, 29 Oct 2019 17:33:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:46076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbfJ2Vdx (ORCPT ); Tue, 29 Oct 2019 17:33:53 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7CD320659; Tue, 29 Oct 2019 21:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572384832; bh=uUPuRp21vww4JYMwj4VwNL4OIhJJzH6oL3Bf7yVJvsc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ig2sslsC+KKOWPf5TweLOBiWHqzEIdHcblfcpRa78d8p9GG4aMiDM+J6BCmf+GCfU VCbyJiS9/RUoTppBGPF7/jWTGfV1ySfmgkDK89lYtWGuIrHojUb/R27+lZ+7hKExg/ ku50TDOkl6WcZDYLoluREtTZ+5pLWWNpSVmyWQ6Q= Date: Tue, 29 Oct 2019 14:33:51 -0700 From: Andrew Morton To: Michal Hocko Cc: Vlastimil Babka , David Rientjes , Linus Torvalds , Andrea Arcangeli , Mel Gorman , "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: <20191029143351.95f781f09a9fbf254163d728@linux-foundation.org> In-Reply-To: <20191029151549.GO31513@dhcp22.suse.cz> References: <20190927074803.GB26848@dhcp22.suse.cz> <20190930112817.GC15942@dhcp22.suse.cz> <20191001054343.GA15624@dhcp22.suse.cz> <20191001083743.GC15624@dhcp22.suse.cz> <20191018141550.GS5017@dhcp22.suse.cz> <53c4a6ca-a4d0-0862-8744-f999b17d82d8@suse.cz> <08a3f4dd-c3ce-0009-86c5-9ee51aba8557@suse.cz> <20191029151549.GO31513@dhcp22.suse.cz> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Oct 2019 16:15:49 +0100 Michal Hocko wrote: > > > > 1. local node only THP allocation with no reclaim, just compaction. > > 2. for madvised VMA's or when synchronous compaction is enabled always - THP > > allocation from any node with effort determined by global defrag setting > > and VMA madvise > > 3. fallback to base pages on any node > > > > Signed-off-by: Vlastimil Babka > > I've given this a try and here are the results of my previous testcase > (memory full of page cache). Thanks, I'll queue this for some more testing. At some point we should decide on a suitable set of Fixes: tags and a backporting strategy, if any?