summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2021-07-12 12:50:35 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-01 16:05:15 -0400
commit13c044e91678d6ef099285705261418bb7b0c748 (patch)
tree121bd601800c79e94424cd540c6113a52ca41b11 /tools/perf/scripts/python
parent67001ff171cb4ae79774cdd13dc1d00cbfdbab66 (diff)
downloadlinux-13c044e91678d6ef099285705261418bb7b0c748.tar.gz
linux-13c044e91678d6ef099285705261418bb7b0c748.zip
scsi: ufs: ufshpb: Add "cold" regions timer
In order not to hang on to "cold" regions, we inactivate a region that has had no READ access for a predefined amount of time - READ_TO_MS. For that purpose monitor the active regions list, polling it on every POLLING_INTERVAL_MS. On timeout expiry add the region to the "to-be-inactivated" list unless it is clean and did not exhaust its READ_TO_EXPIRIES - another parameter. None of this applies to pinned regions. Link: https://lore.kernel.org/r/20210712095039.8093-9-avri.altman@wdc.com Reviewed-by: Daejun Park <daejun7.park@samsung.com> Signed-off-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions