Re: [PATCH RFC 1/5] mm/numa: move numa emulation APIs into generic files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> wrote:

> In order to support NUMA EMU for other
> arch, some functions that used by numa_meminfo
> should be moved out x86 arch. mm/numa.c created
> to place above API.
> 
> CONFIG_NUMA_EMU will be handled later.
> 
> Signed-off-by: Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx>
> ---
>  arch/x86/include/asm/numa.h |   3 -
>  arch/x86/mm/numa.c          | 216 +-------------------------
>  arch/x86/mm/numa_internal.h |  14 +-
>  include/asm-generic/numa.h  |  18 +++
>  mm/Makefile                 |   1 +
>  mm/numa.c                   | 298 ++++++++++++++++++++++++++++++++++++
>  6 files changed, 323 insertions(+), 227 deletions(-)
>  create mode 100644 mm/numa.c

No objections to moving the x86 NUMA emulation code to mm/numa.c, as long 
as it stays similarly functional:

   Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>

Thanks,

	Ingo




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux