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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 F1D29C43461 for ; Mon, 12 Apr 2021 14:03:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB5CB6128E for ; Mon, 12 Apr 2021 14:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242091AbhDLOEG (ORCPT ); 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-Google-Smtp-Source: ABdhPJzjxbOCYQHIKvDCo79/k+jyp289C97iVhgm1Ap38B4NQDVl+WIplqpqt7aDu1eWkrGHCT7omEnFTkjsMqBgmZ0= 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).