mbox series

[0/2] PCI: vmd: Fix possible >= MAX_ORDER allocation

Message ID 1571658459-5668-1-git-send-email-jonathan.derrick@intel.com (mailing list archive)
Headers show
Series PCI: vmd: Fix possible >= MAX_ORDER allocation | expand

Message

Jon Derrick Oct. 21, 2019, 11:47 a.m. UTC
Hi Lorenzo,

This set covers a condition where, with many debug options enabled, the
allocation of the vmd irq lists can exceed the max order of the allocator.

The first patch reverts a very old optimization which is no longer valid.
The second patch adds a layer of indirection to the vmd irq lists to
significantly reduce the size per allocation.

Please consider these for v5.5

Jon Derrick (2):
  Revert "x86/PCI: VMD: Eliminate index member from IRQ list"
  PCI: vmd: Add indirection layer to vmd irq lists

 drivers/pci/controller/vmd.c | 47 ++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 23 deletions(-)