103 ms·
Adding more registers makes context switching take longer and require more memory. It’s a trade off.
by variadix 3y ago
Adding more registers makes context switching take longer and require more memory. It’s a trade off.
- kccqzy 3y agoThese registers are caller-saved, so no need to save them for system calls. Thread switching might be performance neutral if the OS uses the xsave / xrstor instructions.