summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorDongli Zhang2019-04-12 13:38:26 +0200
committerKonrad Rzeszutek Wilk2019-04-13 01:44:46 +0200
commit53b29c336830db48ad3dc737f88b8c065b1f0851 (patch)
tree005f8ea4c317a99f2b583c2fa3b9db21f4eeb0b2 /drivers/xen
parentswiotlb: dump used and total slots when swiotlb buffer is full (diff)
downloadkernel-qcow2-linux-53b29c336830db48ad3dc737f88b8c065b1f0851.tar.gz
kernel-qcow2-linux-53b29c336830db48ad3dc737f88b8c065b1f0851.tar.xz
kernel-qcow2-linux-53b29c336830db48ad3dc737f88b8c065b1f0851.zip
swiotlb: save io_tlb_used to local variable before leaving critical section
When swiotlb is full, the kernel would print io_tlb_used. However, the result might be inaccurate at that time because we have left the critical section protected by spinlock. Therefore, we backup the io_tlb_used into local variable before leaving critical section. Fixes: 83ca25948940 ("swiotlb: dump used and total slots when swiotlb buffer is full") Suggested-by: HÃ¥kon Bugge <haakon.bugge@oracle.com> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions