)]}'
{
  "commit": "14a7f2392f42bbb71c1a5ea68930006221fcd80a",
  "tree": "4752d151e0c4c11929b6b0f30e77027132468797",
  "parents": [
    "2cbb259ec4f8e12dade80b388b81d41fa22187d2"
  ],
  "author": {
    "name": "Yonghong Song",
    "email": "yonghong.song@linux.dev",
    "time": "Wed Oct 29 11:36:46 2025 -0700"
  },
  "committer": {
    "name": "Alexei Starovoitov",
    "email": "ast@kernel.org",
    "time": "Fri Oct 31 11:14:54 2025 -0700"
  },
  "message": "bpf: Make migrate_disable always inline to avoid partial inlining\n\nThe build fails with llvm 21/22:\n\n  $ make LLVM\u003d1 -j\n    ...\n    LD      vmlinux.o\n    GEN     .vmlinux.objs\n    ...\n    BTF     .tmp_vmlinux1.btf.o\n    ...\n    AS      .tmp_vmlinux2.kallsyms.o\n    LD      vmlinux.unstripped\n    BTFIDS  vmlinux.unstripped\n  WARN: resolve_btfids: unresolved symbol migrate_enable\n  WARN: resolve_btfids: unresolved symbol migrate_disable\n  make[2]: *** [vmlinux.unstripped] Error 255\n  make[2]: *** Deleting file \u0027vmlinux.unstripped\u0027\n  make[1]: *** [Makefile:1242: vmlinux] Error 2\n  make: *** [Makefile:248: __sub-make] Error 2\n\nTwo functions with identical names but different addresses are\nconsidered ambiguous and removed by \"pahole\" from vmlinux BTF.\nLater resolve_btfids warns since it cannot find them.\n\nCommit 378b7708194f (\"sched: Make migrate_{en,dis}able() inline\") made\nthem inlineable in most places, but in vmlinux built with llvm 21 and 22\nthere are four symbols for migrate_{enable,disable}:\nthree static functions and one global function.\n\nFix the issue by marking migrate_{enable,disable} as always inline.\nThe alternative is to mark them as notrace/nokprobe which is more\ndrastic. Only bpf programs are prevented from attaching to these\nfunctions. The rest of the tracing shouldn\u0027t be affected.\n\n[note: Peter ok-ed the patch, Alexei rewrote commit log]\n\nFixes: 378b7708194f (\"sched: Make migrate_{en,dis}able() inline\")\nSigned-off-by: Yonghong Song \u003cyonghong.song@linux.dev\u003e\nAcked-by: Menglong Dong \u003cmenglong.dong@linux.dev\u003e\nLink: https://lore.kernel.org/r/20251029183646.3811774-1-yonghong.song@linux.dev\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cbb7340c5866fba8ba64305e44a535c6adb54c69",
      "old_mode": 33188,
      "old_path": "include/linux/sched.h",
      "new_id": "b469878de25c8a0a452a88431197c8328b3edfae",
      "new_mode": 33188,
      "new_path": "include/linux/sched.h"
    }
  ]
}
