summaryrefslogtreecommitdiff
path: root/mm/zswap.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2019-02-13 02:55:50 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-13 22:00:16 -0800
commit13f16d9d4ab7fccc918aafb146ea043be9574d49 (patch)
tree148c75447c7e21ea390e5cd357304d8c76c86fb0 /mm/zswap.c
parent1567b85eb8ad2d0fe8d77e50118e876df565d9c7 (diff)
downloadlwn-13f16d9d4ab7fccc918aafb146ea043be9574d49.tar.gz
lwn-13f16d9d4ab7fccc918aafb146ea043be9574d49.zip
page_pool: use DMA_ATTR_SKIP_CPU_SYNC for DMA mappings
As pointed out by Alexander Duyck, the DMA mapping done in page_pool needs to use the DMA attribute DMA_ATTR_SKIP_CPU_SYNC. As the principle behind page_pool keeping the pages mapped is that the driver takes over the DMA-sync steps. Reported-by: Alexander Duyck <alexander.duyck@gmail.com> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions