diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2019-02-13 02:55:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-13 22:00:16 -0800 |
commit | 13f16d9d4ab7fccc918aafb146ea043be9574d49 (patch) | |
tree | 148c75447c7e21ea390e5cd357304d8c76c86fb0 /mm/zswap.c | |
parent | 1567b85eb8ad2d0fe8d77e50118e876df565d9c7 (diff) | |
download | lwn-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