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:
Xin Jiang 2024-03-15 13:28:39 +08:00 committed by hanliyang
parent 6757c7150f
commit 33e2386628
1 changed files with 1 additions and 0 deletions

View File

@ -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);