From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751998AbcCAWlq (ORCPT ); Tue, 1 Mar 2016 17:41:46 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33934 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751772AbcCAWlo (ORCPT ); Tue, 1 Mar 2016 17:41:44 -0500 Date: Tue, 1 Mar 2016 14:41:39 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Vlastimil Babka cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christoph Lameter , Pekka Enberg , Joonsoo Kim Subject: Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory() In-Reply-To: <1456859312-26207-1-git-send-email-vbabka@suse.cz> Message-ID: References: <1456859312-26207-1-git-send-email-vbabka@suse.cz> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Mar 2016, Vlastimil Babka wrote: > We can now print gfp_flags more human-readable. Make use of this in > slab_out_of_memory() for SLUB and SLAB. Also convert the SLAB variant it to > pr_warn() along the way. > > Signed-off-by: Vlastimil Babka > Cc: Christoph Lameter > Cc: Pekka Enberg > Cc: David Rientjes > Cc: Joonsoo Kim Acked-by: David Rientjes Although I've always been curious about the usefulness of these out of memory calls in the first place. They are obviously for debugging, but have they actually helped to diagnose anything?