diff options
author | Christoph Hellwig <[email protected]> | 2018-09-06 20:30:54 -0400 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2018-10-01 07:28:00 -0700 |
commit | 7d21ee4c719f00896767ce19c4c01a56374c2ced (patch) | |
tree | 81ddf922c44d62db19a3048aa1fc0f2f1b2bdd76 /lib/memory-notifier-error-inject.c | |
parent | a20bb058375147cb639c7aa17ef86ad68b32d847 (diff) |
dma-direct: refine dma_direct_alloc zone selection
We need to take the DMA offset and encryption bit into account when
selecting a zone. User the opportunity to factor out the zone
selection into a helper for reuse.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions