kmalloc returns same address
From: gopan (gop_kumar_at_hotmail.com)
Date: 12/17/04
- Previous message: sillyrabbitt: "Command File Parameters on Embedded Linux client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2004 03:51:52 -0800
>2. The next time I run it, I get the same addr returned by kmalloc.
>Dec 15 12:23:55 localhost kernel: Start of module
>Dec 15 12:23:55 localhost kernel: memhead: f19ecdc0 << kmalloc for
the
>head
>Dec 15 12:23:55 localhost kernel: MALLOC_DMA: ptr: f19ecdc0
^^^^^^^^^
>kmalloc for the user requested space returns the same
>addr as in the last line
I believe you have some how corrupted the data structures
maintained by the slab allocator when you loaded the module first
time. I have seem similar stuff happening when we do a double free.
Gop
- Previous message: sillyrabbitt: "Command File Parameters on Embedded Linux client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]