[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210127101813.6370-1-david@redhat.com>
Date: Wed, 27 Jan 2021 11:18:11 +0100
From: David Hildenbrand <david@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, David Hildenbrand <david@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...nel.org>,
Mike Rapoport <rppt@...nel.org>,
Oscar Salvador <osalvador@...e.de>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Wei Yang <richard.weiyang@...ux.alibaba.com>
Subject: [PATCH v1 0/2] mm/cma: better error handling and count pages per zone
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
Powered by blists - more mailing lists