Hi,
given a pointer p, is there an easy and platform independent way to find out,
whether the memory location that p points to was allocated with kmalloc or
vmalloc?
Thanks
Michael Bellion
On Tue, Aug 27, 2002 at 04:06:16AM +0200, Michael Bellion wrote:
> given a pointer p, is there an easy and platform independent way to find out,
> whether the memory location that p points to was allocated with kmalloc or
> vmalloc?
Vmalloc'ed memory has a virtual address VMALLOC_START <= x < VMALLOC_END.
Ralf