diff options
author | Dongli Zhang <dongli.zhang@oracle.com> | 2019-01-18 15:10:27 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2019-02-12 12:53:01 -0500 |
commit | 71602fe6d4e9291af105adfef8e893b57c735906 (patch) | |
tree | c72253bb9d27cf5dae3c38211a1f670fcc390517 /fs/ioctl.c | |
parent | 6442ca2abf882d9d838fb844d852ba6acd1db7f4 (diff) |
swiotlb: add debugfs to track swiotlb buffer usage
The device driver will not be able to do dma operations once swiotlb buffer
is full, either because the driver is using so many IO TLB blocks inflight,
or because there is memory leak issue in device driver. To export the
swiotlb buffer usage via debugfs would help the user estimate the size of
swiotlb buffer to pre-allocate or analyze device driver memory leak issue.
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions