[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024062627-curler-unlucky-51e0@gregkh>
Date: Wed, 26 Jun 2024 09:38:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Tvrtko Ursulin <tursulin@...lia.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-dev@...lia.com,
Maíra Canal <mcanal@...lia.com>,
Tvrtko Ursulin <tvrtko.ursulin@...lia.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>
Subject: Re: [PATCH 1/2] numa: Add simple generic NUMA emulation
On Tue, Jun 25, 2024 at 01:58:02PM +0100, Tvrtko Ursulin wrote:
> From: Maíra Canal <mcanal@...lia.com>
>
> Add some common code for splitting the memory into N emulated NUMA memory
> nodes.
>
> Individual architecture can then enable selecting this option and use the
> existing numa=fake=<N> kernel argument to enable it.
>
> Memory is always split into equally sized chunks.
>
> Signed-off-by: Maíra Canal <mcanal@...lia.com>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@...lia.com>
> Co-developed-by: Tvrtko Ursulin <tvrtko.ursulin@...lia.com>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Will Deacon <will@...nel.org>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: “Rafael J. Wysocki" <rafael@...nel.org>
> ---
> drivers/base/Kconfig | 7 ++++
> drivers/base/Makefile | 1 +
> drivers/base/arch_numa.c | 6 ++++
> drivers/base/numa_emulation.c | 67 +++++++++++++++++++++++++++++++++++
> drivers/base/numa_emulation.h | 21 +++++++++++
Why not just properly describe the numa topology in your bootloader or
device tree and not need any such "fake" stuff at all?
Also, you are now asking me to maintain these new files, not something
I'm comfortable doing at all sorry.
greg k-h
Powered by blists - more mailing lists