Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265533

Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to irq core

From Qais Yousef <qais.yousef@imgtec.com>
Newsgroups linux.kernel
Subject Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to irq core
Date 2015-11-09 11:20 +0100
Message-ID <qsRIn-55g-49@gated-at.bofh.it> (permalink)
References <qqHN7-1ZB-7@gated-at.bofh.it> <qqHN8-1ZB-19@gated-at.bofh.it> <qsbSO-2TM-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/07/2015 01:31 PM, Thomas Gleixner wrote:
> On Tue, 3 Nov 2015, Qais Yousef wrote:
>> +
>> +	/* always allocate a virq per cpu */
>> +	nr_irqs = ipi_mask_weight(dest);
> That's not really a good assumption. Not all architectures need
> seperate interrupt numbers / descriptors because they can allocate
> from a per cpu interrupt space. We really want to handle that here as
> well. So we need a flag in the IPI domain which tells us whether that
> allocation needs to be weight(desc) or 1.

OK. But is it bad to always allocate the weight? I thought allocating 
virqs is cheap, or maybe not?

Thanks,
Qais
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 07/14] genirq: Add a new generic IPI reservation code to irq core Qais Yousef <qais.yousef@imgtec.com> - 2015-11-03 12:20 +0100
  Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to  irq core kbuild test robot <lkp@intel.com> - 2015-11-03 13:10 +0100
  Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to  irq core Thomas Gleixner <tglx@linutronix.de> - 2015-11-07 13:20 +0100
  Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to  irq core Thomas Gleixner <tglx@linutronix.de> - 2015-11-07 14:40 +0100
    Re: [PATCH 07/14] genirq: Add a new generic IPI reservation code to  irq core Qais Yousef <qais.yousef@imgtec.com> - 2015-11-09 11:20 +0100

csiph-web