[RFC Patch 0/1] Change OOM message from hugetlb to include requested size

From: Liam R. Howlett
Date: Mon Sep 11 2017 - 11:50:03 EST


This is an attempt to better highlight misconfigured huge pages by showing the
user what was requested verses what was configured. Moving the messages within
the OOM report will make the configuration or misconfiguration more clear when
an out of memory event occurs. The previous message has been removed in favour
of this method.

Liam R. Howlett (1):
mm/hugetlb: Clarify OOM message on size of hugetlb and requested
hugepages total

include/linux/hugetlb.h | 1 +
mm/hugetlb.c | 35 +++++++++++++++++++++++++++++++----
2 files changed, 32 insertions(+), 4 deletions(-)

--
2.14.1.145.gb3622a4ee