FUTEX2 Improvements Merged For Linux 6.16
On this first day of the Linux 6.16 merge window, Linus Torvalds merged the locking code changes for the kernel that includes some additions to the FUTEX2 interface.
As covered earlier this month, there has been some long sought after additions to the FUTEX2 support, primarily the NUMA awareness. Plus memory policy "MPOL" and task-local hash maps made it in too for further enhancing the FUTEX2 interface added back in Linux 5.16 four years ago.
The FUTEX2 improvements were submitted via this pull request noting:
The FUTEX2 NUMA and MPOL ABIs are now merged along with task-local hash maps for Linux 6.16.
As covered earlier this month, there has been some long sought after additions to the FUTEX2 support, primarily the NUMA awareness. Plus memory policy "MPOL" and task-local hash maps made it in too for further enhancing the FUTEX2 interface added back in Linux 5.16 four years ago.
The FUTEX2 improvements were submitted via this pull request noting:
- Add support for task local hash maps (Sebastian Andrzej Siewior, Peter Zijlstra)
- Implement the FUTEX2_NUMA ABI, which feature extends the futex interface to be NUMA-aware. On NUMA-aware futexes a second u32 word containing the NUMA node is added to after the u32 futex value word. (Peter Zijlstra)
- Implement the FUTEX2_MPOL ABI, which feature extends the futex interface to be mempolicy-aware as well, to further refine futex node mappings and lookups. (Peter Zijlstra)
The FUTEX2 NUMA and MPOL ABIs are now merged along with task-local hash maps for Linux 6.16.
