Navigation
Search
|
[$] Deferred scheduling for user-space critical sections
Friday October 27, 2023. 05:31 PM , from LWN.net
User-space developers working with highly threaded applications would often
like to be able to use spinlocks to protect shared data structures from concurrent access. There is a fundamental problem with user-space spinlocks, though: there is no way to prevent a thread from being preempted. Various ways of working around this problem have been explored, but this patch from Steven Rostedt questions the premise on which much of that work is based: what if it were possible to prevent preemption, for a short period at least?
https://lwn.net/Articles/948870/
|
25 sources
Current Date
May, Mon 6 - 06:11 CEST
|