lkml.org 
[lkml]   [2021]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] mm/cma: better error handling and count pages per zone
Date
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(-)

--
2.29.2

\
 
 \ /
  Last update: 2021-01-27 11:23    [W:0.031 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site