Re: [patch 00/37] PNP resource_table cleanups, v2

Bjorn Helgaas
2008-05-05T14:48:58Z

On Sunday 04 May 2008 08:19:54 am Rene Herman wrote:
> On 04-05-08 16:14, Rene Herman wrote:
>
> > In trying to come up with problems I'm only finding a difference in an
> > added failure mode with respect to the static array if we run out of
> > memory at a bad time and this is quite unserious.
>
> I mean, this would be an added mode when just releasing and rbuilding teh
> list as opposed to teh reusing, it's not a diffeerence with respect to the
> .index setup.
>
> So, going to completely slash struct pnp_resource again? :) Would improve
> things...

It would be nice to get rid of struct pnp_resource, but then I
wouldn't have a place to keep the list pointer. But I think
it will disappear from most of the interfaces, e.g,. we can
get rid of pnp_get_pnp_resource(), etc.

Bjorn