What are Linux internals? This course focuses on the elements of the Linux kernel that allow programmers to build software components that are linked to the hardware level. Students gain a general understanding of basic tools and interfaces in order to successfully modify features and develop new aspects of the kernel.
How does Linux kernel start? The machine’s BIOS or boot microcode hundreds and runs a boot loader. Boot loader finds the kernel image on the disk and loads it into memory, to start the system. The kernel initializes the devices and their drivers. The kernel mounts the basis filesystem.
What are primitives in Linux? Linux Kernel implements many different synchronization primitives (spinlock, mutex, semaphore, RCU, ) and we need to be able to select the most appropriate one to ensure code correctness and effectiveness.
How does Linux kernel work?
- Memory management: Keep track of how much memory is used to store what, and where.
- Process management: Determine which processes can use the central processing unit (CPU), when, and for how long.
- Device drivers: Act as mediator/interpreter between the hardware and processes.