Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348065

Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()
Date 2016-03-02 15:20 +0100
Message-ID <r8fN7-l3-17@gated-at.bofh.it> (permalink)
References <r7XQf-4Tj-43@gated-at.bofh.it> <r81h8-75L-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/01/2016 11:41 PM, David Rientjes wrote:
> 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 <vbabka@suse.cz>
>> Cc: Christoph Lameter <cl@linux.com>
>> Cc: Pekka Enberg <penberg@kernel.org>
>> Cc: David Rientjes <rientjes@google.com>
>> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
>
> Acked-by: David Rientjes <rientjes@google.com>

Thanks.

> 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?

Uh no idea, maybe other SL*B maintainers have more experience. But what 
did prompt me to write this patch is that I've recently have actually 
seen the output of those in some (presumably linux-mm) thread.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory() Vlastimil Babka <vbabka@suse.cz> - 2016-03-01 20:10 +0100
  Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in  slab_out_of_memory() David Rientjes <rientjes@google.com> - 2016-03-01 23:50 +0100
    Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in  slab_out_of_memory() Vlastimil Babka <vbabka@suse.cz> - 2016-03-02 15:20 +0100

csiph-web