)]}'
{
  "commit": "afd218bb1dd8b4d2ba99a84cfa71524da6dbab35",
  "tree": "5c77f9c16a92744b79bf586be113caf8d8eca49c",
  "parents": [
    "c1f49dea2b8f335813d3b348fd39117fb8efb428"
  ],
  "author": {
    "name": "Sang-Heon Jeon",
    "email": "ekffu200098@gmail.com",
    "time": "Fri Apr 17 22:58:05 2026 +0900"
  },
  "committer": {
    "name": "Mike Rapoport (Microsoft)",
    "email": "rppt@kernel.org",
    "time": "Fri Apr 24 10:29:20 2026 +0300"
  },
  "message": "mm/fake-numa: fix under-allocation detection in uniform split\n\nWhen splitting NUMA node uniformly, split_nodes_size_interleave_uniform()\nreturns the next absolute node ID, not the number of nodes created.\n\nThe existing under-allocation detection logic compares next absolute node\nID (ret) and request count (n), which only works when nid starts at 0.\n\nFor example, on a system with 2 physical NUMA nodes (node 0: 2GB, node\n1: 128MB) and numa\u003dfake\u003d8U, 8 fake nodes are successfully created from\nnode 0 and split_nodes_size_interleave_uniform() returns 8. For node 1,\nfake node nid starts at 8, but only 4 fake nodes are created due to\ncurrent FAKE_NODE_MIN_SIZE being 32MB, and\nsplit_nodes_size_interleave_uniform() returns 12. By existing\nunder-allocation detection logic, \"ret \u003c n\" (12 \u003c 8) is false, so the\nunder-allocation will not be detected.\n\nFix under-allocation detection logic to compare the number of actually\ncreated nodes (ret - nid) against the request count (n). Also skip\nunder-allocation detection logic for memoryless physical nodes where no\nfake nodes are created.\n\nAlso, fix the outdated comment describing\nsplit_nodes_size_interleave_uniform() to match the actual return value.\n\nSigned-off-by: Sang-Heon Jeon \u003cekffu200098@gmail.com\u003e\nReported-by: Donghyeon Lee \u003casd142513@gmail.com\u003e\nReported-by: Munhui Chae \u003cmochae@student.42seoul.kr\u003e\nFixes: cc9aec03e58f (\"x86/numa_emulation: Introduce uniform split capability\") # 4.19\nLink: https://patch.msgid.link/20260417135805.1758378-1-ekffu200098@gmail.com\nSigned-off-by: Mike Rapoport (Microsoft) \u003crppt@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "703c8fa05048019317bc2a011d7b928884ddc934",
      "old_mode": 33188,
      "old_path": "mm/numa_emulation.c",
      "new_id": "55f26b22bb0be25fff4a29e2d282e7d4459b3e0c",
      "new_mode": 33188,
      "new_path": "mm/numa_emulation.c"
    }
  ]
}
