linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: fix the names of general cma and hugetlb cma
@ 2020-06-03  8:40 Barry Song
  2020-06-03  8:40 ` [PATCH 1/2] mm: cma: fix the name of CMA areas Barry Song
  2020-06-03  8:40 ` [PATCH 2/2] mm: hugetlb: fix the name of hugetlb CMA Barry Song
  0 siblings, 2 replies; 7+ messages in thread
From: Barry Song @ 2020-06-03  8:40 UTC (permalink / raw)
  To: akpm, mike.kravetz; +Cc: guro, linux-mm, linux-kernel, linuxarm, Barry Song

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.

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(-)

-- 
2.23.0




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-03 17:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03  8:40 [PATCH 0/2] mm: fix the names of general cma and hugetlb cma Barry Song
2020-06-03  8:40 ` [PATCH 1/2] mm: cma: fix the name of CMA areas Barry Song
2020-06-03 14:12   ` Roman Gushchin
2020-06-03 17:27   ` Mike Kravetz
2020-06-03  8:40 ` [PATCH 2/2] mm: hugetlb: fix the name of hugetlb CMA Barry Song
2020-06-03 14:13   ` Roman Gushchin
2020-06-03 17:28   ` Mike Kravetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox