Bug#454493: Display PCI slot for nics, if available
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.
--
dann frazier
Reply to: