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]
Date:   Tue, 21 Feb 2023 08:52:25 +0200
From:   Mike Rapoport <rppt@...nel.org>
To:     Jonathan Corbet <corbet@....net>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        Bagas Sanjaya <bagasdotme@...il.com>,
        David Hildenbrand <david@...hat.com>,
        Johannes Weiner <hannes@...xchg.org>,
        Lorenzo Stoakes <lstoakes@...il.com>,
        "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        Mel Gorman <mgorman@...e.de>, Michal Hocko <mhocko@...nel.org>,
        Vlastimil Babka <vbabka@...e.cz>, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v3] docs/mm: Physical Memory: add example of interleaving
 nodes

Ping?

On Mon, Feb 13, 2023 at 05:44:47PM +0200, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt@...nel.org>
> 
> Add an example of memory layout with interleaving nodes where even memory
> banks belong to node 0 and odd memory banks belong to node 1
> 
> Suggested-by: Michal Hocko <mhocko@...nel.org>
> Signed-off-by: Mike Rapoport (IBM) <rppt@...nel.org>
> ---
> 
> v3:
> * Fix typos and wording (Matthew) 
> 
> v2: https://lore.kernel.org/all/20230212095445.1311627-1-rppt@kernel.org
> * Wording update (Bagas)
> * Add forgotten Suggested-by
> 
> v1: https://lore.kernel.org/all/20230211102207.1267058-1-rppt@kernel.org
>  Documentation/mm/physical_memory.rst | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
> index 3f3c02aa6e6e..863ddcd0b291 100644
> --- a/Documentation/mm/physical_memory.rst
> +++ b/Documentation/mm/physical_memory.rst
> @@ -114,6 +114,25 @@ RAM equally split between two nodes, there will be ``ZONE_DMA32``,
>    |  DMA32  |  NORMAL  |  MOVABLE  | |   NORMAL   |   MOVABLE   |
>    +---------+----------+-----------+ +------------+-------------+
>  
> +
> +Memory banks may belong to interleaving nodes. In the example below an x86
> +machine has 16 Gbytes of RAM in 4 memory banks, even banks belong to node 0
> +and odd banks belong to node 1::
> +
> +
> +  0              4G              8G             12G            16G
> +  +-------------+ +-------------+ +-------------+ +-------------+
> +  |    node 0   | |    node 1   | |    node 0   | |    node 1   |
> +  +-------------+ +-------------+ +-------------+ +-------------+
> +
> +  0   16M      4G
> +  +-----+-------+ +-------------+ +-------------+ +-------------+
> +  | DMA | DMA32 | |    NORMAL   | |    NORMAL   | |    NORMAL   |
> +  +-----+-------+ +-------------+ +-------------+ +-------------+
> +
> +In this case node 0 will span from 0 to 12 Gbytes and node 1 will span from
> +4 to 16 Gbytes.
> +
>  .. _nodes:
>  
>  Nodes
> 
> base-commit: e076f253283c3e55a128fa9665c0e6cd8146948d
> -- 
> 2.35.1
> 

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ