From: Jon Derrick <jonathan.derrick@intel.com>
To: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
Keith Busch <keith.busch@intel.com>, <linux-pci@vger.kernel.org>,
Jon Derrick <jonathan.derrick@intel.com>
Subject: [PATCH 0/2] PCI: vmd: Fix possible >= MAX_ORDER allocation
Date: Mon, 21 Oct 2019 05:47:37 -0600 [thread overview]
Message-ID: <1571658459-5668-1-git-send-email-jonathan.derrick@intel.com> (raw)
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
next reply other threads:[~2019-10-21 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 11:47 Jon Derrick [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571658459-5668-1-git-send-email-jonathan.derrick@intel.com \
--to=jonathan.derrick@intel.com \
--cc=helgaas@kernel.org \
--cc=keith.busch@intel.com \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).