FUTEX2 Improvements Merged For Linux 6.16
([Linux Kernel] 3 Hours Ago
FUTEX2)
- Reference: 0001549168
- News link: https://www.phoronix.com/news/FUTEX2-Improvements-Linux-6.16
- Source link:
On this first day of the [1]Linux 6.16 merge window, Linus Torvalds merged the locking code changes for the kernel that includes some additions to the [2]FUTEX2 interface.
As covered earlier this month, there has been some [3]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 [4]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 [5]merged along with task-local hash maps for Linux 6.16.
[1] https://www.phoronix.com/search/Linux+6.16
[2] https://www.phoronix.com/search/FUTEX2
[3] https://www.phoronix.com/news/FUTEX2-NUMA-Linux-6.16
[4] https://lore.kernel.org/lkml/aDLdBucNJqaA4T4R@gmail.com/
[5] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b3570b00dc3062c5a5e8d9602b923618d679636a
As covered earlier this month, there has been some [3]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 [4]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 [5]merged along with task-local hash maps for Linux 6.16.
[1] https://www.phoronix.com/search/Linux+6.16
[2] https://www.phoronix.com/search/FUTEX2
[3] https://www.phoronix.com/news/FUTEX2-NUMA-Linux-6.16
[4] https://lore.kernel.org/lkml/aDLdBucNJqaA4T4R@gmail.com/
[5] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b3570b00dc3062c5a5e8d9602b923618d679636a
phoronix