)]}'
{
  "commit": "6d50a2ebdab99d40526c82945a14b07924df5bac",
  "tree": "1361ffe973ea5784fa8cba6ad798200ad3b881ab",
  "parents": [
    "093a47300f611c6e566376edf22b44190820d22d"
  ],
  "author": {
    "name": "Fuad Tabba",
    "email": "fuad.tabba@linux.dev",
    "time": "Thu May 07 15:41:19 2026 +0100"
  },
  "committer": {
    "name": "Fuad Tabba",
    "email": "fuad.tabba@linux.dev",
    "time": "Mon Jul 06 10:33:51 2026 +0100"
  },
  "message": "DONOTMERGE: KVM: selftests: Fix MADV_COLLAPSE build failure on older toolchains\n\nAn equivalent commit has been submitted and accepted into a fixes\nbranch upstream, but hasn\u0027t made it yet. Keep this until that happens,\notherwise the selftests won\u0027t build.\n\nguest_memfd_test.c uses MADV_COLLAPSE unconditionally, but the\nconstant was only exposed in glibc 2.37. Distros still on older glibc\n(e.g. Debian Bookworm, glibc 2.36) cannot build the test.\n\nAdd a compile-time fallback that defines MADV_COLLAPSE to its\nkernel-ABI value when the libc header does not, matching the\nestablished selftest pattern for sometimes-missing libc constants\n(see selftests/bpf/uprobe_multi.c, selftests/mm/hugetlb-soft-offline.c).\n\nFixes: 9830209b4ae8 (\"KVM: selftests: Test MADV_COLLAPSE on guest_memfd\")\nSigned-off-by: Fuad Tabba \u003cfuad.tabba@linux.dev\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2233d871a38f468be4a22c1da6712ff128095e58",
      "old_mode": 33188,
      "old_path": "tools/testing/selftests/kvm/guest_memfd_test.c",
      "new_id": "51606015aed84bfe3d8900e8ed6d17f2d5534ed8",
      "new_mode": 33188,
      "new_path": "tools/testing/selftests/kvm/guest_memfd_test.c"
    }
  ]
}
