lkml.org 
[lkml]   [2012]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] oom: add sysctl to enable slab memory dump
    On Fri, 24 Feb 2012, Pekka Enberg wrote:

    > Right. We should drop the sysctl and make it into a kernel command line
    > debugging option instead.
    >

    I like how slub handles this when it can't allocate more slab with
    slab_out_of_memory() and has the added benefit of still warning even with
    __GFP_NORETRY that the oom killer is never called for. If there's really
    a slab leak happening, there's a good chance that this diagnostic
    information is going to be emitted by the offending cache at some point in
    time if you're using slub. This could easily be extended to slab.c, so
    it's even more reason not to include this type of information in the oom
    killer.


    \
     
     \ /
      Last update: 2012-02-24 11:07    [W:2.236 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site