diff options
author | Petr Tesarik <petr.tesarik.ext@huawei.com> | 2023-06-07 11:04:18 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-06-07 15:06:40 +0200 |
commit | 693405cf11357017ea29764e3bd9488a2d292d8f (patch) | |
tree | 92e8af68663f2ae5f32e36cdba73cc679873168c /lib/string_helpers.c | |
parent | efa76afdde16f195f8faff0e8dbe58ec18aad70c (diff) |
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