Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2110209yba; Fri, 19 Apr 2019 12:18:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiDwtaABDiSnpHANmj0euI1dPtuKAOHVhMlDtsXc6kee05w5LGOot9TUxYFY1oCqHOsAR8 X-Received: by 2002:a17:902:2ba6:: with SMTP id l35mr1019003plb.56.1555701525624; Fri, 19 Apr 2019 12:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555701525; cv=none; d=google.com; s=arc-20160816; b=bjbU7LfMAldj/2iIyf+h5dfyvVtAkcHVf0BUd3x9ccOO+OlIZ3amdj2m1sGNUanPFw iMNQhgqGvR0oe5etWBhMJfovbEFLVc9ydJJJiHPnfOZELJima8R4YNG7A7bCqlOeIu8d 2L9IwqHyZA4oYGMc2v+J5wMvS1lgHlO8rh6pS24hBIrrkM4vGD8ElN5NbaQuc+0Dg6RI s0Gsenv/shYZl0/wEbnCxSQGzbQ2g367r2ywS/W6IcDb1kAKYJAEuz/jvMYiRxSlk3xI Wfrxxx17Xez8Yvs3TzdzZSS1VdIw9dijjTAGHQGlMMerD0sH0/UnMsQEGATouwHuWbNi a7Pw== 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=LUIQ54xgTpObEJh5us6KXdVv/bDckSRhn4O+VMkjd/k=; b=BxJ9vOh4ziuW5sthDUzc+Q1Bi/LjQN5MOfnC+/ygzR5VSfYJPlwDflCb5Tcy0u+eMm AqnujdfWEtUDaIVjqrWv1xwqPUXxEiErWx2JK5DWuUHEAr68NoYWquvM4DF9b4ZCVYbq brR3lM6ILmNzabhH3MrwQsbSQmEWTri8TawAWKKnPaYgIVi+lrcclhib9GQGWTJmfnq6 QhEM0Uba45/5FitB6bWQUv76jxhTJbZ7NxCpdlDrLU3ONDzoSTbBoxVLVtRQJ68fqdzZ xIOiRY0chgwlwZZv4Jdo/xfvgTlr3EUfvB/8neHzXLXmYS/16kBNPPNZq1o5TYTx1mUO E6UQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13si5997550pgj.413.2019.04.19.12.18.30; Fri, 19 Apr 2019 12:18:45 -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; 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 S1727976AbfDSTQU (ORCPT + 99 others); Fri, 19 Apr 2019 15:16:20 -0400 Received: from outbound-smtp24.blacknight.com ([81.17.249.192]:41310 "EHLO outbound-smtp24.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbfDSTQU (ORCPT ); Fri, 19 Apr 2019 15:16:20 -0400 Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp24.blacknight.com (Postfix) with ESMTPS id B603FB8AB0 for ; Fri, 19 Apr 2019 15:28:37 +0100 (IST) Received: (qmail 11311 invoked from network); 19 Apr 2019 14:28:37 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[37.228.225.79]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 19 Apr 2019 14:28:37 -0000 Date: Fri, 19 Apr 2019 15:28:35 +0100 From: Mel Gorman To: Matthew Wilcox Cc: Andrew Morton , Mikulas Patocka , James Bottomley , linux-parisc@vger.kernel.org, linux-mm@kvack.org, Vlastimil Babka , LKML , linux-arch@vger.kernel.org Subject: Re: DISCONTIGMEM is deprecated Message-ID: <20190419142835.GM18914@techsingularity.net> References: <20190419094335.GJ18914@techsingularity.net> <20190419140521.GI7751@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20190419140521.GI7751@bombadil.infradead.org> 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 Fri, Apr 19, 2019 at 07:05:21AM -0700, Matthew Wilcox wrote: > On Fri, Apr 19, 2019 at 10:43:35AM +0100, Mel Gorman wrote: > > DISCONTIG is essentially deprecated and even parisc plans to move to > > SPARSEMEM so there is no need to be fancy, this patch simply disables > > watermark boosting by default on DISCONTIGMEM. > > I don't think parisc is the only arch which uses DISCONTIGMEM for !NUMA > scenarios. Grepping the arch/ directories shows: > > alpha (does support NUMA, but also non-NUMA DISCONTIGMEM) > arc (for supporting more than 1GB of memory) > ia64 (looks complicated ...) > m68k (for multiple chunks of memory) > mips (does support NUMA but also non-NUMA) > parisc (both NUMA and non-NUMA) > > I'm not sure that these architecture maintainers even know that DISCONTIGMEM > is deprecated. Adding linux-arch to the cc. Poor wording then -- yes, DISCONTIGMEM is still used but look where it's used. I find it impossible to believe that any new arch would support DISCONTIGMEM or that DISCONTIGMEM would be selected when SPARSEMEM is available.`It's even more insane when you consider that SPARSEMEM can be extended to support VMEMMAP so that it has similar overhead to FLATMEM when mapping pfns to struct pages and vice-versa. -- Mel Gorman SUSE Labs