[lkml]   [2021]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V3] genirq/affinity: add helper of irq_affinity_calc_sets
Hello Thomas,

On Wed, Jul 21, 2021 at 09:48:04AM +0800, Ming Lei wrote:
> When driver requests to allocate irq affinity managed vectors,
> pci_alloc_irq_vectors_affinity() may fallback to single vector
> allocation. In this situation, we don't need to call
> irq_create_affinity_masks for calling into ->calc_sets() for
> avoiding potential memory leak, so add the helper for this purpose.
> Fixes: c66d4bd110a1 ("genirq/affinity: Add new callback for (re)calculating interrupt sets")
> Reported-by: Bjorn Helgaas <>
> Reviewed-by: Christoph Hellwig <>
> Acked-by: Bjorn Helgaas <>
> Cc:
> Signed-off-by: Ming Lei <>

Can you take this patch if you are fine?


 \ /
  Last update: 2021-07-26 12:36    [W:0.026 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site