diff options
author | 2023-06-07 11:04:18 +0200 | |
---|---|---|
committer | 2023-06-07 15:06:40 +0200 | |
commit | 693405cf11357017ea29764e3bd9488a2d292d8f (patch) | |
tree | 92e8af68663f2ae5f32e36cdba73cc679873168c /lib/string_helpers.c | |
parent | swiotlb: remove unused field "used" from struct io_tlb_mem (diff) | |
download | wireguard-linux-693405cf11357017ea29764e3bd9488a2d292d8f.tar.xz wireguard-linux-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 <petr.tesarik.ext@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions