RFC futex: Add support for attached futexes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | futex: Provide helpers for hash bucket add/removekernel/ | +33 | 0 replies | |
| 2/7 | futex: Add some more function commentrykernel/ | +12 | 0 replies | |
| 3/7 | futex: Make key init a helper functionkernel/ | +61 | 0 replies | |
| 4/7 | futex: Add support for attached futexesinclude/ include/ include/ +2 more | +458 | 15 replies | |
| 5/7 | perf/bench/futex-hash: Support for attached futexestools/ tools/ | +44 | 0 replies | |
| 6/7 | futex.2: Document attached modeman2/ | +75 | 0 replies | |
| 7/7 | glibc: nptl: Add support for attached pthread_mutexesnptl/ nptl/ nptl/ +18 more | +208 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC patch 0/7] futex: Add support for attached futexes
The standard futex mechanism in the Linux kernel uses a global hash to store transient state. Collisions on that hash can lead to performance degradation and on real-time enabled kernels to unbound priority inversions.
To guarantee futexes without collisions on the global kernel hash, we provide a mechanism to attach to a futex. This creates futex private state which avoids hash collisions and on NUMA systems also cross node memory accesses.
The full explanation of the mechanism is in the changelog of patch 4/7 'futex: Add support for attached futexes'.
The last two patches in the series contain a first update to the futex man page and initial glibc support.
For your conveniance the kernel part is available at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.futex
Thanks,
tglx