Skip to content

RFC vmd irq list shortening, map allocation

Jon Derrick linux-pci 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest3 patches 4 repliesIn review
  2. v1 RFC2 patches 0 repliesSuperseded

Changes in v2 from the cover letter

Added a map for vmd irqs to attempt to allocate all vmd irqs within an irq list into a single page. Once we start getting many devices sharing the irq in an irq list, this may help the list traversal latency.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vmd: eliminate vmd_vector member from list typearch/x86/pci/vmd.c+5 -80 replies
2/3vmd: eliminate index member from irq listarch/x86/pci/vmd.c+13 -70 replies
3/3pci/vmd: Create irq map for irq nodesarch/x86/pci/vmd.c+59 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFCv2 0/3] vmd irq list shortening, map allocation

V2:
Added a map for vmd irqs to attempt to allocate all vmd irqs within an irq list into a single page. Once we start getting many devices sharing the irq in an irq list, this may help the list traversal latency.

V1:
Couple of RFC patches here. I don't really notice a positive benefit but it does reduce the struct size of vmd_irq_list and hopefully we gain some cache benefits from that.

Both are based on:
https://patchwork.kernel.org/patch/9304179/
https://patchwork.kernel.org/patch/9304181/

Jon Derrick (3):
vmd: eliminate vmd_vector member from list type
vmd: eliminate index member from irq list
pci/vmd: Create irq map for irq nodes

 arch/x86/pci/vmd.c | 94 ++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 73 insertions(+), 21 deletions(-)
Signature · 1 line
1.8.3.1