Re: [net-next PATCH RFC 19/26] arch/sparc: Add option to skip DMA sync as a part of map and unmap

From
David Miller <davem@davemloft.net>
Date
2016-10-24 18:27:34
Also in
linux-mm, lkml, sparclinux
Reply to
Alexander Duyck, 2016-10-24
From: Alexander Duyck <redacted>
Date: Mon, 24 Oct 2016 08:06:07 -0400
This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to
avoid invoking cache line invalidation if the driver will just handle it
via a sync_for_cpu or sync_for_device call.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: <redacted>
Signed-off-by: Alexander Duyck <redacted>
This is fine for avoiding the flush for performance reasons, but the
chip isn't going to write anything back unless the device wrote into
the area.
Thread (37 messages) 37 messages, 8 authors, last reply 2016-10-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help