Re: [PATCH 2/6] futex: Implement FUTEX2_NUMA

From
Christoph Lameter (Ampere) <cl@gentwo.org>
Date
2024-10-28 22:34:06
Also in
linux-arch, linux-mm, lkml
Reply to
Davidlohr Bueso, 2024-10-28
On Sun, 27 Oct 2024, Davidlohr Bueso wrote:
On Fri, 25 Oct 2024, Christoph Lameter (Ampere) wrote:\n
quoted
Would it be possible to follow the NUMA memory policy set up for a task
when making these decisions? We may not need a separate FUTEX2_NUMA
option. There are supportive functions in mm/mempolicy.c that will yield
a node for the futex logic to use.
With numa-awareness, when would lookups ever want to be anywhere but
local? mempolicy is about allocations, futexes are not that.
futexes use kernel metadata right? Those allocations are controlled by
the tasks memory policy.
Thread (17 messages) 17 messages, 5 authors, last reply 2024-10-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help