aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorChunguang Xu <[email protected]>2021-07-05 21:47:26 +0000
committerJens Axboe <[email protected]>2021-07-07 12:43:20 +0000
commitd80c228d44640f0b47b57a2ca4afa26ef87e16b0 (patch)
tree1d57ac168504faa0db9558ef92eb0ce62362bdfe /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentMerge branch 'nvme-5.14' of git://git.infradead.org/nvme into block-5.14 (diff)
downloadkernel-d80c228d44640f0b47b57a2ca4afa26ef87e16b0.tar.gz
kernel-d80c228d44640f0b47b57a2ca4afa26ef87e16b0.zip
block: fix the problem of io_ticks becoming smaller
On the IO submission path, blk_account_io_start() may interrupt the system interruption. When the interruption returns, the value of part->stamp may have been updated by other cores, so the time value collected before the interruption may be less than part-> stamp. So when this happens, we should do nothing to make io_ticks more accurate? For kernels less than 5.0, this may cause io_ticks to become smaller, which in turn may cause abnormal ioutil values. Signed-off-by: Chunguang Xu <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions