How to guarantee that kmalloc returns an address below 4GB

From: Cestonaro, Thilo \(external\)
Date: Wed May 16 2007 - 04:32:00 EST


Hey,

is there an option for kmalloc, which I can use to allocate a buffer which is in physical memory placed below 4GB?
Not in a remapped area.
The only way I found is to use GFP_DMA, but this says the first 16MB isn't it?

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