]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mm: hugetlb: fix the name of hugetlb CMA
authorBarry Song <song.bao.hua@hisilicon.com>
Wed, 12 Aug 2020 01:32:00 +0000 (18:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:57 +0000 (10:57 -0700)
commit29d0f41d232393482ced6a233126832df3429ad2
treeafecdc4369fda2ccb41bcd739c432832fb74c61d
parent18e98e56f4407b8c766b6f6d9f2850fd2a081e4d
mm: hugetlb: fix the name of hugetlb CMA

Once we enable CMA_DEBUGFS, we will get the below errors: directory
'cma-hugetlb' with parent 'cma' already present.

We should have different names for different CMA areas.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Roman Gushchin <guro@fb.com>
Link: http://lkml.kernel.org/r/20200616223131.33828-3-song.bao.hua@hisilicon.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c