x86/mm: CSV allows CMA allocation concurrently
Upstream: no CSV allows CMA allocation concurrently. Signed-off-by: Yangwencheng <yangwencheng@hygon.cn> Signed-off-by: Xin Jiang <jiangxin@hygon.cn> Signed-off-by: hanliyang <hanliyang@hygon.cn>
This commit is contained in:
parent
6757c7150f
commit
33e2386628
|
@ -282,6 +282,7 @@ static void __init csv_cma_reserve_mem(void)
|
|||
1 << CSV_CMA_SHIFT, node);
|
||||
break;
|
||||
}
|
||||
cma_enable_concurrency(csv_cma->cma);
|
||||
|
||||
if (start > cma_get_base(csv_cma->cma) || !start)
|
||||
start = cma_get_base(csv_cma->cma);
|
||||
|
|
Loading…
Reference in New Issue