aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2023-11-19 17:15:28 +0000
committerAndrew Morton <[email protected]>2023-12-06 16:12:47 -0800
commit1f3730fd9e8d4d77fb99c60d0e6ad4b1104e7e04 (patch)
tree749bc55f1f71da56ce327e6028446dae90219dfb /scripts/generate_rust_analyzer.py
parent0263f92fadbb9d294d5971ac57743f882c93b2b3 (diff)
mm/damon/core: copy nr_accesses when splitting region
Regions split function ('damon_split_region_at()') is called at the beginning of an aggregation interval, and when DAMOS applying the actions and charging quota. Because 'nr_accesses' fields of all regions are reset at the beginning of each aggregation interval, and DAMOS was applying the action at the end of each aggregation interval, there was no need to copy the 'nr_accesses' field to the split-out region. However, commit 42f994b71404 ("mm/damon/core: implement scheme-specific apply interval") made DAMOS applies action on its own timing interval. Hence, 'nr_accesses' should also copied to split-out regions, but the commit didn't. Fix it by copying it. Link: https://lkml.kernel.org/r/[email protected] Fixes: 42f994b71404 ("mm/damon/core: implement scheme-specific apply interval") Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions