aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorPetr Tesarik <[email protected]>2023-06-07 09:04:18 +0000
committerChristoph Hellwig <[email protected]>2023-06-07 13:06:40 +0000
commit693405cf11357017ea29764e3bd9488a2d292d8f (patch)
tree92e8af68663f2ae5f32e36cdba73cc679873168c /drivers/pci/controller/dwc
parentswiotlb: remove unused field "used" from struct io_tlb_mem (diff)
downloadkernel-693405cf11357017ea29764e3bd9488a2d292d8f.tar.gz
kernel-693405cf11357017ea29764e3bd9488a2d292d8f.zip
swiotlb: use the atomic counter of total used slabs if available
If DEBUG_FS is enabled, the cost of keeping an exact number of total used slabs is already paid. In this case, there is no reason to use an inexact number for statistics and kernel messages. Signed-off-by: Petr Tesarik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions