Bug#454493: Display PCI slot for nics, if available
dann frazier <dannf@debian.org> writes:
> On Thu, Dec 27, 2007 at 05:09:38PM -0200, Otavio Salvador wrote:
>> dann frazier <dannf@debian.org> writes:
>>
>> > [1] Of course, acpiphp has module dependencies, and if these aren't
>> > cleaned up after a failed load, memory will still be lost to those
>> > modules
>>
>> It means that we'd need to find a way to get those dependencies and
>> walk throught them removing the unused ones.
>
> Yeah. Options here would be:
> 1) big hammer - write a modprobe wrapper that cleans
> unused/unloadable modules after every load
> 2) smaller hammer - write a modprobe wrapper that remembers what was
> loaded before and, on failure, unloads all newly added, unused,
> unloadable modules
> 3) surgical hammer - whatever ends up loading acpihpi knows that, on
> failure, dock and pci_hotplug should be removed (if unused)
>
> fyi, the dependencies loaded, and left unused, eat 9476 (dock) and
> 28600 (pci_hotplug) bytes.
imo, the best and more widly solution would be the 2. That shouldn't
be too hard and would allow us to reduce the memory footprint not only
on your user case but in general usage too.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
Reply to: