[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53e30e21-3ada-9a54-d0ee-5ecfa0e8afa8@redhat.com>
Date: Mon, 23 Jan 2023 09:40:01 +0100
From: David Hildenbrand <david@...hat.com>
To: Gavin Shan <gshan@...hat.com>, linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, osalvador@...e.de,
gregkh@...uxfoundation.org, rafael@...nel.org, shan.gavin@...il.com
Subject: Re: [PATCH 1/2] drivers/base/memory: Fix comments for
phys_index_show()
On 20.01.23 06:57, Gavin Shan wrote:
> According to 'admin-guide/mm/memory-hotplug.rst', the memory block ID,
> instead of the section index, is shown by '/sys/devices/system/memory/
> memoryX/phys_index'.
>
> Fix the comments to match with 'admin-guide/mm/memory-hotplug.rst'.
> Besides, use the existing helper memory_block_id() to convert the section
> index to the memory block index.
>
> No functional change intended.
>
> Signed-off-by: Gavin Shan <gshan@...hat.com>
> ---
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists