Data Structures

Once again there are a number of central data structures around which the code used to implement the process data filesystem is built. These include the structures of the virtual filesystem discussed in Chapter 8. proc makes generous use of these, simply because, as a filesystem itself, it must be integrated into the VFS layer of the kernel.

There are also proc-specific data structures to organize the data provided in the kernel. An interface to the subsystems of the kernel must also be made available to enable the kernel to extract required information from its structures before it is supplied to userspace by means of /proc.

Continue reading here: Representation of proc Entries

Was this article helpful?

0 0