Files
linux/include/asm-generic
Kumar Kartikeya Dwivedi ecbd804752 rqspinlock: Add basic support for CONFIG_PARAVIRT
We ripped out PV and virtualization related bits from rqspinlock in an
earlier commit, however, a fair lock performs poorly within a virtual
machine when the lock holder is preempted. As such, retain the
virt_spin_lock fallback to test and set lock, but with timeout and
deadlock detection. We can do this by simply depending on the
resilient_tas_spin_lock implementation from the previous patch.

We don't integrate support for CONFIG_PARAVIRT_SPINLOCKS yet, as that
requires more involved algorithmic changes and introduces more
complexity. It can be done when the need arises in the future.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250316040541.108729-15-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-03-19 08:03:05 -07:00
..
2022-02-25 09:36:06 +01:00
2023-02-13 22:13:29 +01:00
2024-05-07 14:20:48 +02:00
2023-12-15 16:25:55 -08:00
2024-01-17 17:52:29 -08:00
2021-12-11 23:31:51 +01:00
2024-09-01 20:26:13 -07:00
2024-09-03 21:15:32 -07:00
2022-07-22 17:34:57 -05:00
2025-01-25 20:22:24 -08:00
2024-11-11 07:33:20 -08:00
2024-11-11 07:33:20 -08:00
2024-11-11 21:51:42 +01:00