[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54DE8E47.5040800@canonical.com>
Date: Fri, 13 Feb 2015 17:52:39 -0600
From: Chris J Arges <chris.j.arges@...onical.com>
To: David Rientjes <rientjes@...gle.com>
CC: linux-kernel@...r.kernel.org, Jonathan Corbet <corbet@....net>,
Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-doc@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 3/3] mm: slub: Add SLAB_DEBUG_CRASH option
On 02/13/2015 05:38 PM, David Rientjes wrote:
> On Fri, 13 Feb 2015, Chris J Arges wrote:
>
>> This option crashes the kernel whenever corruption is initially detected. This
>> is useful when trying to use crash dump analysis to determine where memory was
>> corrupted.
>>
>> To enable this option use slub_debug=C.
>>
>
> Why isn't this done in other debugging functions such as
> free_debug_processing()?
>
The diff doesn't show this clearly, but the BUG_ON was added to both
free_debug_processing and alloc_debug_processing.
--chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists