How to dump the page addresses of a kmem_cache object?

From: Xin Zhao
Date: Mon Jun 05 2006 - 14:54:05 EST


Hi,

I allocated a kmem_cache object with function kmem_cache_create().
After I do kmem_cache_alloc(), several pages should be assigned to
this kmem_cache object.

My question is: how can I dump the addresses of the pages allocated to
this cache? Can someone give me a rough idea or direct me to somewhere
to find the solution?

Thanks in advance for your help!

Xin
-
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/