lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c453491b-6dc1-a008-d6f4-3c806eebd2ef@linux.ibm.com>
Date:   Fri, 27 May 2022 19:10:55 +0530
From:   Aneesh Kumar K V <aneesh.kumar@...ux.ibm.com>
To:     Wei Xu <weixugc@...gle.com>, Huang Ying <ying.huang@...el.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Greg Thelen <gthelen@...gle.com>,
        Yang Shi <shy828301@...il.com>,
        Davidlohr Bueso <dave@...olabs.net>,
        Tim C Chen <tim.c.chen@...el.com>,
        Brice Goglin <brice.goglin@...il.com>,
        Michal Hocko <mhocko@...nel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Hesham Almatary <hesham.almatary@...wei.com>,
        Dave Hansen <dave.hansen@...el.com>,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>,
        Alistair Popple <apopple@...dia.com>,
        Dan Williams <dan.j.williams@...el.com>,
        Feng Tang <feng.tang@...el.com>, Linux MM <linux-mm@...ck.org>,
        Jagdish Gediya <jvgediya@...ux.ibm.com>,
        Baolin Wang <baolin.wang@...ux.alibaba.com>,
        David Rientjes <rientjes@...gle.com>
Subject: Re: RFC: Memory Tiering Kernel Interfaces (v3)

On 5/27/22 2:52 AM, Wei Xu wrote:

>    The order of memory tiers is determined by their rank values, not by
>    their memtier device names.
> 
>    - /sys/devices/system/memtier/possible
> 
>      Format: ordered list of "memtier(rank)"
>      Example: 0(64), 1(128), 2(192)
> 
>      Read-only.  When read, list all available memory tiers and their
>      associated ranks, ordered by the rank values (from the highest
>       tier to the lowest tier).
> 

Did we discuss the need for this? I haven't done this in the patch 
series I sent across. We do have 
/sys/devices/system/memtier/default_rank which should allow user to 
identify the default rank to which memory would get added via hotplug if 
the NUMA node is not part of any memory tier.


-aneesh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ