)]}'
{
  "commit": "03e5f82ea632af329e32ec03d952b2d99497eeaa",
  "tree": "962e0a0e67331bb2109565ee8ed5b35a77234cf9",
  "parents": [
    "67eae54bc227b30dedcce9db68b063ba1adb7838"
  ],
  "author": {
    "name": "Baolin Wang",
    "email": "baolin.wang@linux.alibaba.com",
    "time": "Mon Oct 24 16:34:21 2022 +0800"
  },
  "committer": {
    "name": "Andrew Morton",
    "email": "akpm@linux-foundation.org",
    "time": "Fri Oct 28 13:37:22 2022 -0700"
  },
  "message": "mm: migrate: fix return value if all subpages of THPs are migrated successfully\n\nDuring THP migration, if THPs are not migrated but they are split and all\nsubpages are migrated successfully, migrate_pages() will still return the\nnumber of THP pages that were not migrated.  This will confuse the callers\nof migrate_pages().  For example, the longterm pinning will failed though\nall pages are migrated successfully.\n\nThus we should return 0 to indicate that all pages are migrated in this\ncase\n\nLink: https://lkml.kernel.org/r/de386aa864be9158d2f3b344091419ea7c38b2f7.1666599848.git.baolin.wang@linux.alibaba.com\nFixes: b5bade978e9b (\"mm: migrate: fix the return value of migrate_pages()\")\nSigned-off-by: Baolin Wang \u003cbaolin.wang@linux.alibaba.com\u003e\nReviewed-by: Alistair Popple \u003capopple@nvidia.com\u003e\nReviewed-by: Yang Shi \u003cshy828301@gmail.com\u003e\nCc: David Hildenbrand \u003cdavid@redhat.com\u003e\nCc: \"Huang, Ying\" \u003cying.huang@intel.com\u003e\nCc: Zi Yan \u003cziy@nvidia.com\u003e\nCc: \u003cstable@vger.kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1379e1912772e0409b78e776b2777a0c3cf0a33b",
      "old_mode": 33188,
      "old_path": "mm/migrate.c",
      "new_id": "dff333593a8ae20aeea333d23c11db26b02bb8ce",
      "new_mode": 33188,
      "new_path": "mm/migrate.c"
    }
  ]
}
