Messages in this thread | | | Subject | Re: /proc/pci unknown devices | Date | Thu, 28 Oct 1999 11:48:25 +0100 | From | David Woodhouse <> |
| |
> On 26-Oct-99 Theodore Y. Ts'o wrote: > > it's __initdata, which means the space > > is released back to the system after the kernel boots.
jeremy@goop.org said: > Huh? How can it be initdata? It's used after boot time (say, when > you cat /proc/pci).
Only the strings for the devices which are present in your system at boot time survive, because they're copied. The rest are lost when __initdata is dropped.
Which means that hot-swap PCI and CardBus users can't see the pretty names - but that isn't too much of a problem because you don't really need them in the kernel in the first place.
---- ---- ---- David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302 Project Leader, Process Information Systems Mobile: (+44) 7976 658355 Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK. finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |