]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/PCI: Remove node-local allocation when initialising host controller
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 28 Aug 2018 15:05:13 +0000 (16:05 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2018 21:33:24 +0000 (16:33 -0500)
commitd193631bfb383d7503a1a72fe1643ac2168bbba7
treefbd35ff1df5c8892e1b99c439cbcd91b0ebe68d3
parent9c314a48aeab0562bf5418f707ee060171d52ac2
x86/PCI: Remove node-local allocation when initialising host controller

Memory for host controller data structures is allocated local to the node
to which the controller is associated with.  This has been the behaviour
since 965cd0e4a5e5 ("x86, PCI, ACPI: Use kmalloc_node() to optimize for
performance") where the node local allocation was added without additional
context.

Drop the node local allocation as there is no benefit from doing so - the
usage of these structures is independent from where the controller is
located.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
arch/x86/pci/acpi.c