[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1382912874.3371.9.camel@concordia>
Date: Mon, 28 Oct 2013 09:27:54 +1100
From: Michael Ellerman <michael@...erman.id.au>
To: Alexander Gordeev <agordeev@...hat.com>
Cc: David Laight <David.Laight@...LAB.COM>,
Mark Lord <kernel@...rt.ca>, Tejun Heo <tj@...nel.org>,
linux-kernel@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Ben Hutchings <bhutchings@...arflare.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-pci@...r.kernel.org
Subject: Re: [PATCH RFC v2 12/29] PCI/MSI: Introduce pcim_enable_msi*()
family helpers
On Fri, 2013-10-25 at 12:01 +0200, Alexander Gordeev wrote:
> On Fri, Oct 25, 2013 at 10:10:02AM +0100, David Laight wrote:
> > What this doesn't resolve is a driver requesting a lot of interrupts
> > early on and leaving none for later drivers.
>
> If this problem really exists anywhere besides pSeries?
>
> I can imagine x86 hitting lack of vectors in interrupt table when
> number of CPUs exceeds hundreds, but do we have this problem now?
>
> > Really the system needs to allocate the minimum number to all
> > drivers before giving out any extra ones - I've NFI how this
> > would be arranged!
>
> Do not know. The pSeries quota approach seems more reasonable to me.
When the system boots each driver should get a fair share of the
available MSIs, the quota achieves this.
But ideally the sysadmin would then be able to override that, and give
more MSIs to one device, the quota doesn't allow that.
Hopefully we'll see the number of available MSIs grow faster than the
number required by devices (usually driven by NR_CPUs), and so this will
become a non-problem.
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists