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

"Arthur yawed wildly as his skin tried to jump one way and
his skeleton the other, whilst his brain tried to work out
which of his ears it most wanted to crawl out of.
`Bet you weren't expecting to see me again,' said the
monster, which Arthur couldn't help thinking was a strange
remark for it to make, seeing as he had never met the
creature before. He could tell that he hadn't met the
creature before from the simple fact that he was able to
sleep at nights."

- Arthur discovering who had diverted him from going to a
party.