News: 0001549168

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

FUTEX2 Improvements Merged For Linux 6.16

([Linux Kernel] 3 Hours Ago FUTEX2)


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



phoronix

Where there is much light there is also much shadow.
-- Goethe