• C
    mm/sharepool: Add mg_sp_alloc_nodemask · 8deff3a6
    Chen Jun 提交于
    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: NChen Jun <chenjun102@huawei.com>
    8deff3a6
share_pool.c 107.6 KB