diff options
| author | Chuck Lever <[email protected]> | 2016-11-29 16:04:58 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2016-11-30 22:31:13 +0000 |
| commit | dd6fd213b05e7a1f590b470500343dd97c3a32c1 (patch) | |
| tree | d622a047d2990e6ef4da4b9665fb01805edb17cd /net/unix/af_unix.c | |
| parent | svcrdma: Remove BH-disabled spin locking in svc_rdma_send() (diff) | |
| download | kernel-dd6fd213b05e7a1f590b470500343dd97c3a32c1.tar.gz kernel-dd6fd213b05e7a1f590b470500343dd97c3a32c1.zip | |
svcrdma: Remove DMA map accounting
Clean up: sc_dma_used is not required for correct operation. It is
simply a debugging tool to report when svcrdma has leaked DMA maps.
However, manipulating an atomic has a measurable CPU cost, and DMA
map accounting specific to svcrdma will be meaningless once svcrdma
is converted to use the new generic r/w API.
A similar kind of debug accounting can be done simply by enabling
the IOMMU or by using CONFIG_DMA_API_DEBUG, CONFIG_IOMMU_DEBUG, and
CONFIG_IOMMU_LEAK.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
