asterinas/kernel
Arthur Paulino a73f210c7a Make `wake_robust_futex` atomic
Replace `VmWriter::atomic_update` with `VmWriter::atomic_compare_exchange`,
which takes the old value for comparison and new value instead of a
closure to compute it. This version has one less unsafe call.

Then use `atomic_compare_exchange` to reimplement the looping logic
of `wake_robust_futex` and make it atomic.
2025-08-19 19:22:12 +08:00
..
comps Fix LOONGARCH clippy warnings 2025-08-19 19:20:54 +08:00
libs Provide efficient `VmIo` with VM readers/writers 2025-08-10 16:40:11 +08:00
src Make `wake_robust_futex` atomic 2025-08-19 19:22:12 +08:00
Cargo.toml chore: use `jhash` to compute the `FutexKey` hash 2025-08-16 09:16:50 +08:00