Rapid context switching was a design objective.
Significant performance gains result from having eliminated any needless context switching, memory requirements are reduced (shorter stacks).
Yes, you need to take into account the costs of context switching when you interrupt someone's work.
In a blocking method typically a context switching occurs upon conflict, with (additional) incurred overhead.
This creates excess overhead through additional context switching.
For the CPU to change over and do work on another program requires expensive context switching.
I agree that context switching is harmful.
It interrupted and delayed Copilot 2.0, and the context switching was harmful.
Being able to do mentally difficult things like context switching makes our product better.
The fundamental service provided by the kernel is context switching.