On Mon, Apr 12, 2010 at 07:15:07PM +0200, Daniel Mack wrote:
If the area is not mapped correctly it will fail in other situations,
e.g. with an IOMMU active or in virtualized setups. So the bug
has to be eventually tracked down.
It does actually, but it only has 16MB to play with. Don't use it.
If anything use __get_free_pages(GFP_DMA32), but it's a x86-64
specific code.
The right thing would be to define a proper interface for it.
I had an attempt for it a couple of years ago with the mask allocator,
but it didn't make it into the tree.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--