mbox series

[v1,0/2] mm/cma: better error handling and count pages per zone

Message ID 20210127101813.6370-1-david@redhat.com (mailing list archive)
Headers show
Series mm/cma: better error handling and count pages per zone | expand

Message

David Hildenbrand Jan. 27, 2021, 10:18 a.m. UTC
Two improvements for CMA:
1. When activation of a CMA area fails, hand back all pages to the buddy
2. Count CMA pages per zone and print them in /proc/zoneinfo

David Hildenbrand (2):
  mm/cma: expose all pages to the buddy if activation of an area fails
  mm/page_alloc: count CMA pages per zone and print them in
    /proc/zoneinfo

 include/linux/mmzone.h |  4 ++++
 mm/cma.c               | 43 +++++++++++++++++++++---------------------
 mm/page_alloc.c        |  1 +
 mm/vmstat.c            |  6 ++++--
 4 files changed, 30 insertions(+), 24 deletions(-)