🔥 Burn Fat Fast. Discover How! 💪

USER MODE AND KERNEL MODE -- | THE CYBER CLAN

USER MODE AND KERNEL MODE
------ LINUX (part2)

Kernel Mode:- The kernel runs in this mode. Code running in kernel mode has unrestricted access to the processor and main memory (RAM).
*This is a powerful but dangerous privilege that allows the kernel to easily corrupt and crash the entire system.
*The memory area that only the kernel can access is called kernel space.

User Mode:- User mode, in comparison, is used by the User Processes and restricts access to a (usually quite small) subset of memory and safe CPU operations.
*User space refers to the parts of main memory that the user processes can access.

There exist a difference in the area for both of the processes because if a user process makes a mistake and crashes, as the process is only restricted to the user space, the following consequences will be limited, and can be cleaned up by the kernel. This means that if your web browser crashes, it probably won’t take down the scientific computation that has been running in the background for days.

This means that a user process gone haywire can’t cause severe damage to the rest of the system but a glitch in kernel space might wreck up your machine.

Tags: #linux #kernel #hardware #process #operatingsystem

Share our channel: @the_cyber_clan

THE CYBER CLAN