lkml.org 
[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /proc/pci unknown devices
Date
From



> 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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.112 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site