Skip to content

Commit

Permalink
x86/mm: CSV allows CMA allocation concurrently
Browse files Browse the repository at this point in the history
hygon inclusion
category: feature
CVE: NA

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

CSV allows CMA allocation concurrently.

Signed-off-by: Yangwencheng <[email protected]>
Signed-off-by: Xin Jiang <[email protected]>
Signed-off-by: hanliyang <[email protected]>
  • Loading branch information
Xin Jiang authored and opsiff committed Sep 4, 2024
1 parent baba2dd commit f899cdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/mm/mem_encrypt_hygon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f899cdf

Please sign in to comment.