summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2019-04-05 09:15:25 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2019-04-10 12:53:22 -0400
commit83ca259489409a1fe8a83dad83a82f32174d4f31 (patch)
treefb8b7a91f1bf4cd34fa47edaa7d7e0659d2c8ea9 /include/kvm
parent22cb45d7692ab502dd47dc5a607b3af240ee1e37 (diff)
downloadlinux-83ca259489409a1fe8a83dad83a82f32174d4f31.tar.gz
linux-83ca259489409a1fe8a83dad83a82f32174d4f31.tar.bz2
linux-83ca259489409a1fe8a83dad83a82f32174d4f31.zip
swiotlb: dump used and total slots when swiotlb buffer is full
So far the kernel only prints the requested size if swiotlb buffer if full. It is not possible to know whether it is simply an out of buffer, or it is because swiotlb cannot allocate buffer with the requested size due to fragmentation. As 'io_tlb_used' is available since commit 71602fe6d4e9 ("swiotlb: add debugfs to track swiotlb buffer usage"), both 'io_tlb_used' and 'io_tlb_nslabs' are printed when swiotlb buffer is full. Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions