lkml.org 
[lkml]   [2024]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] swiotlb: Do not set total_used to 0 in swiotlb_create_debugfs_files()
Date
> From: Easwar Hariharan <eahariha@linux.microsoft.com>
> Sent: Friday, March 29, 2024 12:47 PM
> [...]
> Sorry, I'm missing a why in this commit message. Can you say what happens
> if the total_used and used_hiwater IS blindly set to 0? Is the only effect
> the change in the readout of the swiotlb debugfs files?
>
> Thanks,
> Easwar

Right, when the system is not doing any I/O, the readout may
return a huge number while it should return 0. This is the only effect.

Thanks,
Dexuan
\
 
 \ /
  Last update: 2024-05-27 16:15    [W:0.155 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site