-
Kernel memory is also known as kmem, kernel space and kernel land
-
This contains the kernel binary itself, working tables to keep track of status on the system and buffers.
-
The kernel binary is typically 3 meg big and the working tables consume another 3 meg (only an example; may vary)
-
Examples of working tables that the kernel keeps in kernel memory for the operation of the system are the Global Open File Table, the Process Table and the Mount Table.
-
Traditionally once the size of kernel memory has been set on bootup (as determined by the finite set sizes of all the tables) it cannot be resized (System V). Linux has a clever way of overcoming this limitation by allowing kernel tables to grow into user memory as required!
-
-
User memory is also known as umem, user space and user land.
-
This is for the use of user programs.
-
Figure 1.12. Kernel Memory, table and buffer cache allocations
See How kernel sits in the memory
The boot loader loads the kernel binary into memory from the hard disk, and places it at the beginning of memory.
Once the kernel has been read in the boot loader tells the CPU to execute it by issuing a JMP (Jump) instruction. The kernel now begins to execute