Skip to content
Snippets Groups Projects
Commit c61e9637 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: add support for allocation from ZONE_DMA and ZONE_DMA32


This allows to dip into zones for lower memory if they are available.
If one of the zones is not available the corresponding GFP_* flag
will evaluate to 0 so they won't change anything.  We provide an
arch tunable for those architectures that do not use GFP_DMA for
the lowest 24-bits, given that there are a few.

Roughly based on the x86 code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 21f237e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment