Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1750315yba; Sun, 21 Apr 2019 14:21:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4VEuEK5OOSejfYR4DDajnfB/fupz3LYZz70Mqv0elP1MlKke/is1BtINo9IKOdAfR+SEw X-Received: by 2002:a65:420b:: with SMTP id c11mr15711550pgq.24.1555881709918; Sun, 21 Apr 2019 14:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555881709; cv=none; d=google.com; s=arc-20160816; b=ebvDe23XZ8ImcVflBiytpcmPJGLWFYBgfzSzJoj4N2fXriK49G34fsJxOSKoJ9lBgg rpsKs6Udar9MJbFYeE3o8xJAIdTerIMllA3ztl7j+v+Q14mLL6wS0mUuKeaX6MaolliS ACE4RDYnUCZnmLUs4EupK31JUaFsktKvVTcux2EL61ZQlwQYrZdGpVy1jrHp2dOkQoHF qIOfr01BTED35COPBjk4Q1yiRyrrmScA9wYahrqrhMhNua+sMH5BLWlN1ROt/F5YcW/2 zHdJEcfMMLHQoPKORbHXEgpWyU1UtyHEygrdFGzoHKCd56ipw99WYpRVqVCh4rcL7OQh lFkw== 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=Z4LorMPRPxWgJ6qu2lCv38u+QKsYqeyCamf3ZQLee70=; b=PFP0Vp4VSrm6syI5DipZ52vX9OlQaVa/r5Jtfqbl+P1ZZZcKPI7yimI7hylc8NvbVB zlUFU5Y9x2UtB9832akMsUILs2VLnkkPd11WFvt9P/u7S5vpqya00l2z31TOfimyj+Ea y8Z8lFmZA9ZtFfFB+T2IoY/4oD+Vls6IqcSznYJVAf2L4mLOvBHd5wA523Q9+3qai455 Wh4hNfKxYIYgQeAFYNJZFLkqC1u9DNUFHkljHRo3Pqs9AtqWW8nwMIPQCyHDY2VDXEO2 xm0r8+L84HbgPSGLihmZyku27RknCeJZW9xOHW6hXRz0rbvYHmSg5FDlWZZUb5iubUJZ bgTg== 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 d4si10637790pgc.304.2019.04.21.14.21.06; Sun, 21 Apr 2019 14:21:49 -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 S1726569AbfDUVQI (ORCPT + 99 others); Sun, 21 Apr 2019 17:16:08 -0400 Received: from outbound-smtp14.blacknight.com ([46.22.139.231]:37764 "EHLO outbound-smtp14.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbfDUVQI (ORCPT ); Sun, 21 Apr 2019 17:16:08 -0400 Received: from mail.blacknight.com (unknown [81.17.254.16]) by outbound-smtp14.blacknight.com (Postfix) with ESMTPS id 5024C1C3636 for ; Sun, 21 Apr 2019 22:16:06 +0100 (IST) Received: (qmail 12317 invoked from network); 21 Apr 2019 21:16:06 -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); 21 Apr 2019 21:16:06 -0000 Date: Sun, 21 Apr 2019 22:16:04 +0100 From: Mel Gorman To: Matthew Wilcox Cc: Mike Rapoport , 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: <20190421211604.GN18914@techsingularity.net> References: <20190419094335.GJ18914@techsingularity.net> <20190419140521.GI7751@bombadil.infradead.org> <20190421063859.GA19926@rapoport-lnx> <20190421132606.GJ7751@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20190421132606.GJ7751@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 Sun, Apr 21, 2019 at 06:26:07AM -0700, Matthew Wilcox wrote: > On Sun, Apr 21, 2019 at 09:38:59AM +0300, Mike Rapoport wrote: > > 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) > > > > i386 NUMA as well > > I clearly over-trimmed. The original assumption that Mel had was that > DISCONTIGMEM => NUMA, and that's not true on the above six architectures. > It is true on i386 ;-) 32-bit NUMA systems should be non-existent in practice. The last NUMA system I'm aware of that was both NUMA and 32-bit only died somewhere between 2004 and 2007. If someone is running a 64-bit capable system in 32-bit mode with NUMA, they really are just punishing themselves for fun. -- Mel Gorman SUSE Labs