linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: vmd: Fix possible >= MAX_ORDER allocation
@ 2019-10-21 11:47 Jon Derrick
  2019-10-21 11:47 ` [PATCH 1/2] Revert "x86/PCI: VMD: Eliminate index member from IRQ list" Jon Derrick
  2019-10-21 11:47 ` [PATCH 2/2] PCI: vmd: Add indirection layer to vmd irq lists Jon Derrick
  0 siblings, 2 replies; 4+ messages in thread
From: Jon Derrick @ 2019-10-21 11:47 UTC (permalink / raw)
  To: Lorenzo Pieralisi; +Cc: Bjorn Helgaas, Keith Busch, linux-pci, Jon Derrick

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-31 11:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 11:47 [PATCH 0/2] PCI: vmd: Fix possible >= MAX_ORDER allocation Jon Derrick
2019-10-21 11:47 ` [PATCH 1/2] Revert "x86/PCI: VMD: Eliminate index member from IRQ list" Jon Derrick
2019-10-21 11:47 ` [PATCH 2/2] PCI: vmd: Add indirection layer to vmd irq lists Jon Derrick
2019-10-31 11:24   ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).