Interrupts
Aug 15, 2023
When you press a key on the keyboard,
the CPU is interrupted so that the PC
can read user input from the keyboard.
Here are some useful materials:
Linux Inside: Interrupts
Linux Kernel Teaching: Interrupts
How the Linux kernel handles interrupts