From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751742AbdIKPt4 (ORCPT ); Mon, 11 Sep 2017 11:49:56 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:32696 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751684AbdIKPtz (ORCPT ); Mon, 11 Sep 2017 11:49:55 -0400 From: "Liam R. Howlett" To: linux-mm@kvack.org Cc: Andrew Morton , Michal Hocko , Mike Kravetz , Andrea Arcangeli , Naoya Horiguchi , "Kirill A. Shutemov" , Gerald Schaefer , zhong jiang , Hillf Danton , "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org Subject: [RFC Patch 0/1] Change OOM message from hugetlb to include requested size Date: Mon, 11 Sep 2017 11:48:19 -0400 Message-Id: <20170911154820.16203-1-Liam.Howlett@Oracle.com> X-Mailer: git-send-email 2.14.1.145.gb3622a4ee X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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