lkml.org 
[lkml]   [2011]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] slub: Add method to verify memory is not deleted.
On 06/27/2011 05:19 PM, David Rientjes wrote:
> On Mon, 27 Jun 2011, Ben Greear wrote:
>
>> I saw a case where xprt was 0x6b6b6b6b. I'm trying to figure out
>> what freed it.
>
> And echo 1> /sys/kernel/slab/<cache>/store_user doesn't help?

That gives one method, right? The rpc stuff is freed at the bottom of a
complicated callback chain, and the interesting stuff is what caused the memory
to be freed, not the actually free method.

In previous network (ath9k) hacking I had the same trouble..I think for most
cases you need a full or mostly full stack to make use of the slub
debug logic.

Thanks,
Ben


--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com



\
 
 \ /
  Last update: 2011-06-28 02:31    [W:0.059 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site