]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dma_rmb_wmb'
authorDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:15:15 +0000 (12:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:15:15 +0000 (12:15 -0400)
commitf075306e32f358161c6197551121bbb478d3567c
treee49f879b6fa316806202bb1f43c9dce4e3cbe535
parentef3f939dd0782c20f6d59c37d7bd7b2b896da8f8
parent87aa17f5788fbb55589bcb344ccab37bcd1ba38e
Merge branch 'dma_rmb_wmb'

Alexander Duyck says:

====================
Replace wmb()/rmb() with dma_wmb()/dma_rmb() where appropriate

This is a start of a side project cleaning up the drivers that can make use
of the dma_wmb and dma_rmb calls.  The general idea is to start removing
the unnecessary wmb/rmb calls from a number of drivers and to make use of
the lighter weight dma_wmb/dma_rmb calls as this should allow for an
overall improvement in performance as each barrier can cost a significant
number of cycles and on architectures such as x86 this is unnecessary.

These changes are what I would consider low hanging fruit.  The likelihood
of the changes introducing an error should be low since the use of the
barriers in these cases are fairly obvious.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>