Re: [PATCH v4 01/10] acpi/numa: Establish a new drivers/acpi/numa/ directory
From: Dan Williams
Date: Tue Jun 25 2019 - 12:03:01 EST
On Tue, Jun 25, 2019 at 8:01 AM Jonathan Cameron
> On Mon, 24 Jun 2019 11:19:32 -0700
> Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
> > Currently hmat.c lives under an "hmat" directory which does not enhance
> > the description of the file. The initial motivation for giving hmat.c
> > its own directory was to delineate it as mm functionality in contrast to
> > ACPI device driver functionality.
> > As ACPI continues to play an increasing role in conveying
> > memory location and performance topology information to the OS take the
> > opportunity to co-locate these NUMA relevant tables in a combined
> > directory.
> > numa.c is renamed to srat.c and moved to drivers/acpi/numa/ along with
> > hmat.c.
> Hi Dan,
> srat.c now includes processing for the slit table which is a bit odd.
> Now we could split this up in to a top level numa.c and then
> srat.c, slit.c and hmat.c....
> Does feel rather silly though. Perhaps better to just leave it as
The srat and slit tables go hand in hand, I'm not too bothered by the
fact that the slit table does not get top billing with its own source
The "numa" term is already in the path name, and calling numa.c leaves
out hmat details which are also "numa".
> I don't really feel strongly about this though.
Understood, I just did not see the justification for HMAT being off in
its own directory when it is a direct extension of the existing
ACPI_NUMA functionality, the other renames were my best effort to
rationalize the code organization.