summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHao Ge <gehao@kylinos.cn>2024-07-29 16:04:31 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-01 20:25:56 -0700
commit5c0532500f102ae8f80be122223eb692ca1d6721 (patch)
tree401d5fe60d19897e2e93431e5be0f7e1e81831db /include
parent29943248af0a8ac3edb808564baa417b40e35521 (diff)
mm/cma: change the addition of totalcma_pages in the cma_init_reserved_mem
Replace the unnecessary division calculation with cma->count when update the value of totalcma_pages. Link: https://lkml.kernel.org/r/20240729080431.70916-1-hao.ge@linux.dev Signed-off-by: Hao Ge <gehao@kylinos.cn> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions