Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1800877pxb; Mon, 12 Apr 2021 07:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPNAfwdreQEVn2VtHOxG/y6pGFOtltj90fRxQuzDm0CVavPlhe4k+gGarJeiBAhssdO8Qr X-Received: by 2002:a05:6402:447:: with SMTP id p7mr29555854edw.89.1618236345283; Mon, 12 Apr 2021 07:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618236345; cv=none; d=google.com; s=arc-20160816; b=S3OG2qXOLTAKoIwQozSS0rwv3ROMB+ztTwjYOY0cyuOT3fE9Bz8Gm9KYNUji2qZxx/ o+7iQatq1CXeHXiK+0qq221YbtgvGSWZXCOx5y9V997wFKk5qX40JYMF/d8ve6193lfW HHihUpbKMymOf5NG/peKFky0QLRGNNqofz5vZP8lGce3Sm+9RnNW8x79FrUuxnEMm8C/ poogBo8/Uzt+uxlI+OS/0BB/3vy7n/Wjm3kRiFT2V3oMPYQlOApqCiGrMOfDWZnd8/+z xnHe1VU9pu6MgyydxhE5P412eHlCiKISsIhFXtP0CvrAKN8sXrLggWIBKv0yZufNi2UJ pdYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wOKg8etxKl6YU4OPpm5oIEWuzY94vpojhhr8xmBl7+Y=; b=X/QbuRLqldSubopD+EZXzc31xjrHtPqyBwZ2GooP/fxU8vKctQi3UTW+JYmxI79sbn qJKXOiDuC7nn+QD/q06R717SOW8gOqDnUjo7EIUXoX5mnSfwONyvQkuVO+XHD50rQ5tp Ug0jCB4KMOsjzBuK7lEdRi94FrzF521aXu+0/FuunrMfIkuj8d3Jn61NYapp61mbTQd/ VN958qq1sBYidVDsjeXOrhCiADP8vYXTzrJ5s7+bppoI5q9PQozBCX0sUku1NLk29SiH ouKU6z6Ssxg4JcIzVpoTjYa/h1TqPMPhrczqqeGzl04LIov4IO2dYh7yJPjs50tq+/7d d+Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=V5ll4uIP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si4459189ejb.394.2021.04.12.07.05.20; Mon, 12 Apr 2021 07:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=V5ll4uIP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242085AbhDLOEG (ORCPT + 99 others); Mon, 12 Apr 2021 10:04:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238998AbhDLOEG (ORCPT ); Mon, 12 Apr 2021 10:04:06 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD096C061574 for ; Mon, 12 Apr 2021 07:03:47 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id n8so21637180lfh.1 for ; Mon, 12 Apr 2021 07:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wOKg8etxKl6YU4OPpm5oIEWuzY94vpojhhr8xmBl7+Y=; b=V5ll4uIP+zT1lm6DYY43H7k9LdxpTRg3xHNiausluEsx6vKF5oCOVESII5zB8hXmBz lLlw2WxfZ9cjqayt0wf2jk2rpQCrq3cwjESyVEGFSCMvzjaaVp5iQC1cMaoWLjpdQPqd 9kiXTv/S8Hg5m7H2mSTrboWfW7xnyUrxF/ZXLfHYiJaqu3P14g/OBlcusSBEO6RUHvD4 m6wYFi3jTQFyq2KEXVZXvd4di+U/43o2PnS/bVsqO/1yEJmBp/rAHNiuNZ1u3qMWti/Q HAPW3k72DPHLl0Gvf+k8ahbsXU95uf1COrhoj77lfWCOA8vBsxGUcGoVXKKQDNUV03aA XEpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wOKg8etxKl6YU4OPpm5oIEWuzY94vpojhhr8xmBl7+Y=; b=SPCKlaLI98ypsT4+bzvLRmweEywjxUciKBTfjCQDeczRCUYqpr9LzgRwZE+pkRaGaO Mwyt9v8GURTsmQv7vBBy+MrS/oLJhzF3c8OJdWKo8+eaypmLlPqKsr61hNpiAnmbb6eS HgP1n0PipQICgsn0pv9WWX/NjSfSt+Bo0oUOHS6UdIhAAKcRApWdao2wImKLAJKeEA4u k1F7jDm+lfuQk3h3xCsN6BoODCUI53GWU/HR0/4Fpwr9D2zD5vO4nj1OHEQHMj55Bpsd YdHUibnDPEIxZM2OTPlZEQdSA+QxXTn3ePdrTTyY1sTRlgjuOT906FXFcsw0a5ZPhN7F nBQQ== X-Gm-Message-State: AOAM532KqVbwSjddvLRglf4+/93jYzMmIhOyy6f2ZcXVY97zhugKn+Mx nZzMuzqApep2LqYmD1qUfgn294dNd73x/eWEilp93Q== X-Received: by 2002:a19:f710:: with SMTP id z16mr19494926lfe.549.1618236226169; Mon, 12 Apr 2021 07:03:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shakeel Butt Date: Mon, 12 Apr 2021 07:03:34 -0700 Message-ID: Subject: Re: [RFC PATCH v1 00/11] Manage the top tier memory in a tiered memory To: Michal Hocko Cc: Tim Chen , Johannes Weiner , Andrew Morton , Dave Hansen , Ying Huang , Dan Williams , David Rientjes , Linux MM , Cgroups , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 8, 2021 at 4:52 AM Michal Hocko wrote: > [...] > > What I am trying to say (and I have brought that up when demotion has been > discussed at LSFMM) is that the implementation shouldn't be PMEM aware. > The specific technology shouldn't be imprinted into the interface. > Fundamentally you are trying to balance memory among NUMA nodes as we do > not have other abstraction to use. So rather than talking about top, > secondary, nth tier we have different NUMA nodes with different > characteristics and you want to express your "priorities" for them. > I am also inclined towards NUMA based approach. It makes the solution more general and even existing systems with multiple numa nodes and DRAM can take advantage of this approach (if it makes sense).