Could convert a buffer that allocated by vmalloc to pages?

From: Yu-Chen Wu
Date: Tue Jan 23 2007 - 08:02:57 EST


Hi,
I write a driver have a big buffer (16MB,allocated by vmalloc).
I want to use the buffer to do DMA transmission so I need getting the pages
of the buffer.
Have any kernel API can do this?
My platform is x86_64 and 2GB RAM

THX

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