2002-08-09 20:52:37

by Erich Focht

[permalink] [raw]
Subject: [PATCH] ACPI_NUMA for SRAT/SLIT table parsing

The attached patch implements the parsing of the ACPI SRAT (Static
Resource Affinity Table) and SLIT (System Locality Information Table)
which are meanwhile the standard for providing NUMA information on
IA64 platforms and started to spread on IA32, too. The patch consists
of an architecture independent part (posted by Tak Kouchi on the acpi
and discontig mailing lists) and the architecture-dependent functions
used for setting up the NUMA structures needed for initialising and
running discontigmem on IA64. CONFIG_ACPI_NUMA controls the usage of
this path.

The arch-dependent part could well be used by other architectures, too,
which might need SRAT/SLIT tables in near future. It does not depend on
discontigmem any more and can be used separately e.g for setting up the
NUMA tables needed with a config_nonlinear patch or with a NUMA scheduler.
It is absolutely necessary for the IA64 discontigmem.

I'm interested in comments, opinions, usage on other architectures...
Please consider the inclusion in 2.5.X. A BK changeset against the
latest 2.5.30 which can be "bk received" can be downloaded from
http://home.arcor.de/efocht/disc/acpi_numa-2.5.30.bkpatch

Thanks,
Erich


Attachments:
acpi_numa-2.5.30.patch (19.94 kB)