3 ms·
I'm only part way through the proposal, but perhaps this would be a candidate for being placed in the vDSO so there's no context switch at all.
by anitil 6y ago
I'm only part way through the proposal, but perhaps this would be a candidate for being placed in the vDSO so there's no context switch at all.
- wahern 6y agoA vDSO can't transfer execution to another thread. Theoretically a vDSO could manipulate a thread's scheduling context to move it up or down a queue, but it couldn't force immediate execution of another thread, couldn't suspend the current thread, and definitely couldn't do both those things simultaneously, which is what the patch does.