• C
    SLUB: change error reporting format to follow lockdep loosely · 24922684
    Christoph Lameter 提交于
    Changes the error reporting format to loosely follow lockdep.
    
    If data corruption is detected then we generate the following lines:
    
    ============================================
    BUG <slab-cache>: <problem>
    --------------------------------------------
    
    INFO: <more information> [possibly multiple times]
    
    <object dump>
    
    FIX <slab-cache>: <remedial action>
    
    This also adds some more intelligence to the data corruption detection. Its
    now capable of figuring out the start and end.
    
    Add a comment on how to configure SLUB so that a production system may
    continue to operate even though occasional slab corruption occur through
    a misbehaving kernel component. See "Emergency operations" in
    Documentation/vm/slub.txt.
    
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: NChristoph Lameter <clameter@sgi.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    24922684
slub.c 87.5 KB