Linux Word
Linux Word
■ History
■ Design Principles
■ Kernel Modules
■ Process Management
■ Scheduling
■ Memory Management
■ File Systems
■ Input and Output
■ Interprocess Communication
■ Network Structure
■ Security
■ Whereas the file table lists the existing open files, the
file-system context applies to requests to open new
files. The current root and default directories to be used
for new file searches are stored here.
■ The signal-handler table defines the routine in the
process’s address space to be called when specific
signals arrive.
■ The virtual-memory context of a process describes the
full contents of the its private address space.
credits
credits := + priority
2
factors in both the process’s history and its priority.
✦ This crediting system automatically prioritizes interactive
or I/O-bound processes.
■ The proc file system does not store data, rather, its
contents are computed on demand according to user file
I/O requests.
■ proc must implement a directory structure, and the file
contents within; it must then define a unique and
persistent inode number for each directory and files it
contains.
✦ It uses this inode number to identify just what operation is
required when a user tries to read from a particular file
inode or perform a lookup in a particular directory inode.
✦ When data is read from one of these files, proc collects the
appropriate information, formats it into text form and places
it into the requesting process’s read buffer.