Linux interview question
What happens when I dereference a NULL pointer in kernel space? Kernel panic What's the difference between initrd and initramfs? Initrd is a separate image loaded by the bootloader, while intramfs is embedded within the kernel image. How is the scheduler called in Linux Kernel? In the Linux kernel, the scheduler is invoked by a periodic timer interrupt. This is called periodic scheduling which is essential for preempting tasks that have consumed more CPU cycles in order to offer other tasks on run-queue a fair chance to utilize the CPU. The scheduler is also invoked by kernel functions that block the current task, and this allows the scheduler to decide on which task on the run-queue should run and context switch to that task What is the difference between vmlinux and vmlinuz? Vmlinux stands for Linux kernel with virtual memory(VM) this is the kernel image. Vmlinuz is the compressed kernel image. What is th...