From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D590ACA9EC3 for ; Tue, 29 Oct 2019 21:33:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 95EC720679 for ; Tue, 29 Oct 2019 21:33:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ig2sslsC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 95EC720679 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 32E2C6B0003; Tue, 29 Oct 2019 17:33:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2DE406B0006; Tue, 29 Oct 2019 17:33:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F4216B0007; Tue, 29 Oct 2019 17:33:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0194.hostedemail.com [216.40.44.194]) by kanga.kvack.org (Postfix) with ESMTP id EC73E6B0003 for ; Tue, 29 Oct 2019 17:33:53 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id A0A5E8249980 for ; Tue, 29 Oct 2019 21:33:53 +0000 (UTC) X-FDA: 76098124746.03.jelly51_793e06ebec72c X-HE-Tag: jelly51_793e06ebec72c X-Filterd-Recvd-Size: 2974 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf42.hostedemail.com (Postfix) with ESMTP for ; Tue, 29 Oct 2019 21:33:53 +0000 (UTC) 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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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?