)]}'
{
  "commit": "62aec1e925996a358dbfc08daf5ec26243bbafd0",
  "tree": "1bb233f421641fba40dd9d7bcff0ae6e07cc0b6c",
  "parents": [
    "6cba27abb6695b1facdd58a6480c611e3b41f1cb"
  ],
  "author": {
    "name": "SeongJae Park",
    "email": "sj@kernel.org",
    "time": "Sun Nov 19 17:15:28 2023 +0000"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Nov 22 15:38:37 2024 +0100"
  },
  "message": "mm/damon/core: copy nr_accesses when splitting region\n\ncommit 1f3730fd9e8d4d77fb99c60d0e6ad4b1104e7e04 upstream.\n\nRegions split function (\u0027damon_split_region_at()\u0027) is called at the\nbeginning of an aggregation interval, and when DAMOS applying the actions\nand charging quota.  Because \u0027nr_accesses\u0027 fields of all regions are reset\nat the beginning of each aggregation interval, and DAMOS was applying the\naction at the end of each aggregation interval, there was no need to copy\nthe \u0027nr_accesses\u0027 field to the split-out region.\n\nHowever, commit 42f994b71404 (\"mm/damon/core: implement scheme-specific\napply interval\") made DAMOS applies action on its own timing interval.\nHence, \u0027nr_accesses\u0027 should also copied to split-out regions, but the\ncommit didn\u0027t.  Fix it by copying it.\n\nLink: https://lkml.kernel.org/r/20231119171529.66863-1-sj@kernel.org\nFixes: 42f994b71404 (\"mm/damon/core: implement scheme-specific apply interval\")\nSigned-off-by: SeongJae Park \u003csj@kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "873d8bec677fbaf0d9f10eb17b2b50fc1a133642",
      "old_mode": 33188,
      "old_path": "mm/damon/core.c",
      "new_id": "43e4fe7ef17eb409c76f74a5d85753e9fd8a1774",
      "new_mode": 33188,
      "new_path": "mm/damon/core.c"
    }
  ]
}
