Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1265533
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| 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 | Mon, 09 Nov 2015 11:20:04 +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> |
| X-Original-To | Thomas Gleixner <tglx@linutronix.de> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="windows-1252"; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Originating-IP | [192.168.154.94] |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 21 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <linux-kernel@vger.kernel.org>, <jason@lakedaemon.net>, <marc.zyngier@arm.com>, <jiang.liu@linux.intel.com>, <ralf@linux-mips.org>, <linux-mips@linux-mips.org> |
| X-Original-Date | Mon, 9 Nov 2015 10:07:17 +0000 |
| X-Original-Message-ID | <56407055.6080602@imgtec.com> |
| X-Original-References | <1446549181-31788-1-git-send-email-qais.yousef@imgtec.com> <1446549181-31788-8-git-send-email-qais.yousef@imgtec.com> <alpine.DEB.2.11.1511071427370.4032@nanos> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1265533 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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