mbox series

[v2,0/2] mm: fix the names of general cma and hugetlb cma

Message ID 20200616223131.33828-1-song.bao.hua@hisilicon.com (mailing list archive)
Headers show
Series mm: fix the names of general cma and hugetlb cma | expand

Message

Song Bao Hua (Barry Song) June 16, 2020, 10:31 p.m. UTC
the current code of CMA can only work when users pass a const string as name
parameter. we need to fix the way to handle names in CMA.
On the other hand, to avoid name conflicts after enabling CMA_DEBUGFS, each
hugetlb should get a different CMA name.

-v2:
  add acked-by and reviewed-by
  rebase to 5.8-rc1

Barry Song (2):
  mm: cma: fix the name of CMA areas
  mm: hugetlb: fix the name of hugetlb CMA

 mm/cma.c     | 13 ++++++-------
 mm/cma.h     |  4 +++-
 mm/hugetlb.c |  4 +++-
 3 files changed, 12 insertions(+), 9 deletions(-)