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

From: Davidlohr Bueso
Date: Sun Oct 27 2024 - 22:04:24 EST


On Fri, 25 Oct 2024, Christoph Lameter (Ampere) wrote:\n

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.