vsyscall avoids CPU mode switch not context switch

Author: skepticfxCreated Jul 15, 2019Updated Jun 10, 2026
Labelsneed-clarificationarea:syscalls

Thanks for this great Gitbook. Well written.

The vsyscalls chapter talks about context switch and switching contexts. Isn't this the actual CPU mode switch(user vs kernel mode) rather than the context switch used for switching between processes itself?

https://github.com/0xAX/linux-insides/blame/master/SysCall/linux-syscall-3.md#L27