Skip to content
Commit 02e76569 authored by ZhangPeng's avatar ZhangPeng Committed by Christoph Hellwig
Browse files

swiotlb: add debugfs to track swiotlb transient pool usage



Introduce a new debugfs interface io_tlb_transient_nslabs. The device
driver can create a new swiotlb transient memory pool once default
memory pool is full. To export the swiotlb transient memory pool usage
via debugfs would help the user estimate the size of transient swiotlb
memory pool or analyze device driver memory leak issue.

Signed-off-by: default avatarZhangPeng <zhangpeng362@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent cf118294
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment