Messages in this thread | | | Date | Wed, 12 Mar 2008 18:08:02 +0100 | From | Olivier Galibert <> | Subject | Re: PNP: increase the maximum number of resources |
| |
On Wed, Mar 12, 2008 at 11:14:52AM -0400, Dave Jones wrote: > In commit a7839e960675b549f06209d18283d5cee2ce9261 the number of PNP resources > was increased. In testing, we've found that the 'exceeded' warnings still get > hit with quite high frequency. See https://bugzilla.redhat.com/show_bug.cgi?id=436589 > for examples. > > I added the debug patch below, which yielded an interesting output. > > pnpacpi: exceeded the max number of mem resources. Max:12 Found:12 > > off by one somewhere ?
No, your patch is just not giving out any additional information. 'i' is the number of currently allocated resources, not the number asked for. That number does not exist anywhere at that point as far as I can see, you'll have to add a counter for it.
That looks valid for every resource type btw.
OG.
| |