Commit 8deff3a6 authored by Chen Jun's avatar Chen Jun Committed by Zhang Zekun
Browse files

mm/sharepool: Add mg_sp_alloc_nodemask



hulk inclusion
category: feature
bugzilla: N/A

--------------------------------

Support alloc memory from nodes.

mg_sp_alloc allow to alloc memory from one node.
If the node have no enough memory, the caller would
pick a next node. But that has a lot of overhead.

To improve performance, we support a new interface to
alloc memory from nodes.

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
parent 598a1d66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment