summaryrefslogtreecommitdiff
path: root/rust/helpers/bitmap.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2025-09-03 14:59:50 +0200
committerVlastimil Babka <vbabka@suse.cz>2025-09-29 09:21:16 +0200
commit4ec1a08d20315d2d2a6f942ea563e5dadd988e98 (patch)
treecb4644224a5ba176c86a51c0a4f01adc8f8ec67b /rust/helpers/bitmap.c
parent989b09b73978a0b3dbee9ef343ab108742b1cc9f (diff)
slab: allow NUMA restricted allocations to use percpu sheaves
Currently allocations asking for a specific node explicitly or via mempolicy in strict_numa node bypass percpu sheaves. Since sheaves contain mostly local objects, we can try allocating from them if the local node happens to be the requested node or allowed by the mempolicy. If we find the object from percpu sheaves is not from the expected node, we skip the sheaves - this should be rare. Reviewed-by: Harry Yoo <harry.yoo@oracle.com> Reviewed-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions