lkml.org 
[lkml]   [2008]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.



\
 
 \ /
  Last update: 2008-03-12 18:11    [W:0.065 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site