Re: DEBUG_PAGEALLOC on PPC not working (kernels 2.6-25, 3.0-34)

2013-06-20 Thread Scott Wood
On 06/20/2013 05:42:40 AM, perth1415 wrote: Hi Scott, Thanks for the reply, though a bit disheartening :-) My understanding on e500 MMU is not clear. It'd be nice if I could find some way (may be ad-hoc) to debug some use-after-free page corruptions. SLAB debug tells me the page was modifie

Re: DEBUG_PAGEALLOC on PPC not working (kernels 2.6-25, 3.0-34)

2013-06-20 Thread perth1415
Hi Scott, Thanks for the reply, though a bit disheartening :-) My understanding on e500 MMU is not clear. It'd be nice if I could find some way (may be ad-hoc) to debug some use-after-free page corruptions. SLAB debug tells me the page was modified by someone after it was freed but DEBUG_PAGEALLOC

Re: DEBUG_PAGEALLOC on PPC not working (kernels 2.6-25, 3.0-34)

2013-06-19 Thread Scott Wood
On 06/19/2013 08:09:44 AM, saikia.partha wrote: Hi, We have two Freescale PowerPC boards on which we're trying to enable DEBUG_PAGEALLOC with the hope that we'll see an exception whenever some code tries to modify a page that's been already freed. To test it, we wrote this sample code - ==