Re: [patch 6/8] PNP: replace pnp_resource_table with dynamically allocated resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 05 May 2008 16:36:36 -0600 Bjorn Helgaas <bjorn.helgaas@xxxxxx> wrote:

> PNP used to have a fixed-size pnp_resource_table for tracking the
> resources used by a device.  This table often overflowed, so we've
> had to increase the table size, which wastes memory because most
> devices have very few resources.
> 
> This patch replaces the table with a linked list of resources where
> the entries are allocated on demand.
> 
> This removes messages like these:
> 
>     pnpacpi: exceeded the max number of IO resources
>     00:01: too many I/O port resources
> 
> References:
> 
>     http://bugzilla.kernel.org/show_bug.cgi?id=9535
>     http://bugzilla.kernel.org/show_bug.cgi?id=9740
>     http://lkml.org/lkml/2007/11/30/110
> 
> This patch also changes the way PNP uses the IORESOURCE_UNSET,
> IORESOURCE_AUTO, and IORESOURCE_DISABLED flags.

This patch kills my prehistoric dual PIII.

http://userweb.kernel.org/~akpm/p5135912.jpg
http://userweb.kernel.org/~akpm/config-vmm.txt
http://userweb.kernel.org/~akpm/dmesg-vmm.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux