Augustin Cavalier a8d965a0c4 kernel/condition_variable: Borrow the scheduler lock instead of self-unblocking.
Self-unblocking is not done anywhere else in the kernel and may not be
such a bright idea, it seems.

This also allows the elimination of some atomics, and resolves a race
that otherwise would have required another wait-loop. Performance
differences seem to be within the realm of noise.

Fixes #17553.

Change-Id: Id719ba51ed3f2a15557c8d53947182a5f8879b7b
2022-02-03 17:32:22 -05:00
..
2022-02-02 19:29:52 +00:00
2022-01-22 14:40:08 +00:00
2021-12-10 21:48:27 -05:00