Re: [PATCH 2/2] slub: Add method to verify memory is not deleted.

Ben Greear
2011-06-28T00:25:24Z

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