Context switching done by the kernel has nothing to do with context switching done in userspace, e.g. by Golang. The kernel has to do mitigations in order...