Re: [PATCH 2/2] slub: Add method to verify memory is not deleted.
From: Ben Greear
Date: Mon Jun 27 2011 - 20:27:40 EST
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@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/