Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2598692yba; Mon, 15 Apr 2019 15:27:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5WMNscawc8D3nSwROukTRFbTvn9UHdG0g2bqzO7fOcW8vIkUNlD+OPNl2MJyACoXrxCRE X-Received: by 2002:a62:474a:: with SMTP id u71mr78140018pfa.87.1555367262061; Mon, 15 Apr 2019 15:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555367262; cv=none; d=google.com; s=arc-20160816; b=v1uLDUuANhN/wTtkg9IDh7dw4qa34SnnxGlQMcOz/XNGQk89CZKeOuzuYUacEcNmTm 9yzYiB2a5GIS018UL4Y9Mnbo1NGx356BVTQCRFdwAzcUGZLMK8ODUwtKxwDILtNsYwYH +JvP7OWf8X4eMs/xU1503Ez5LbJ84aUDsqobkVr76CIFBpowQtA9sSpUm+TEyaEtqE0M POnQ4QLSb8JE/gOq4XHDbUC8bTpoBrMz8DmGOZqndAEAi8Gz5kk1CuLKnZPUaEif0SEM 1mpjZL7Xw5NEw6Bd3fPAz7aRlPVj6J+VJPFId6JCmd4B5iqGMQnUqUMmBxuaSevvVnFw DkEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PM0dA4W0SaI2pjNagSolUyV+vwZzWJPKwFT2vd7LFNs=; b=lkXctsRrLYn3QTw6xa95CVBSUyMNfkFO7MUy+y9+iuzCx2an64baRIHUNM1fHztQz4 mvzE1/xvo7aaxBBC9XccePQHF9jrRuxf3PZHhzm2kCk2dhcnlopmXVAuI4NnpIeP4A1O eMzyeBb++NlEcDUJydUZ4esoC/cEwl7UBz+H3bOfIXsZVPY/e9EeMLX/mElYOIajV1ST IWm4brbplzufn1AhEZEiAtnvx6B0qWIwts/RigrjWHMEtkJ15RNV8VJbBAE+BJGZnG4M 3f9ZZMnSOCHufH0d+hJLVvXD0i1q6NionlCGg9lt2ceEOW+lihs3tpDLC13ZmkcmhFTc qp7g== 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=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si9838622plr.438.2019.04.15.15.27.25; Mon, 15 Apr 2019 15:27:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727552AbfDOW0q (ORCPT + 99 others); Mon, 15 Apr 2019 18:26:46 -0400 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:59975 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbfDOW0p (ORCPT ); Mon, 15 Apr 2019 18:26:45 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=yang.shi@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0TPPhBLZ_1555367198; Received: from US-143344MP.local(mailfrom:yang.shi@linux.alibaba.com fp:SMTPD_---0TPPhBLZ_1555367198) by smtp.aliyun-inc.com(127.0.0.1); Tue, 16 Apr 2019 06:26:42 +0800 Subject: Re: [v2 PATCH 5/9] mm: vmscan: demote anon DRAM pages to PMEM node To: Dave Hansen , mhocko@suse.com, mgorman@techsingularity.net, riel@surriel.com, hannes@cmpxchg.org, akpm@linux-foundation.org, keith.busch@intel.com, dan.j.williams@intel.com, fengguang.wu@intel.com, fan.du@intel.com, ying.huang@intel.com, ziy@nvidia.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1554955019-29472-1-git-send-email-yang.shi@linux.alibaba.com> <1554955019-29472-6-git-send-email-yang.shi@linux.alibaba.com> <0f4d092d-1421-7163-d937-f8aa681db594@linux.alibaba.com> <42f2a561-f675-14d7-8d4f-87acfe0a18e9@intel.com> From: Yang Shi Message-ID: <745e396c-d9e0-b222-acd4-2a586832878b@linux.alibaba.com> Date: Mon, 15 Apr 2019 15:26:33 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <42f2a561-f675-14d7-8d4f-87acfe0a18e9@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/15/19 3:14 PM, Dave Hansen wrote: > On 4/15/19 3:10 PM, Yang Shi wrote: >>> Also, I don't see anything in the code tying this to strictly demote >>> from DRAM to PMEM.  Is that the end effect, or is it really implemented >>> that way and I missed it? >> No, not restrict to PMEM. It just tries to demote from "preferred node" >> (or called compute node) to a memory-only node. In the hardware with >> PMEM, PMEM would be the memory-only node. > If that's the case, your patch subject is pretty criminal. :) Aha, s/PMEM/cpuless would sound guiltless.