No. We don't have any hardwares like that here. However, it is trivial
to add a global variable, say
int dma_memory_limit = 1;
to indicate if the architecture has the DMA memory limit and each
architecture can turn it off at the runt-time. We then can do
if (!dma_memory_limit)
RMQUEUE_ANY(order);
else {
if (gfp_mask & __GFP_DMA)
RMQUEUE_DMA(order);
else {
RMQUEUE_NODMA(order);
RMQUEUE_ANY(order);
}
}
>
> Doug Gilbert
>
> PS I don't think page_alloc.c changed between 2.2.9 and
> 2.2.10-ac8. Haven't looked at "ac9" yet. So your patch
> should work on more than just 2.2.9 .
>
I also use it on 2.2.7.
-- H.J. Lu (hjl@gnu.org)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/