)]}'
{
  "commit": "4b30efe586f89319cc6d258ca11022273e33657a",
  "tree": "acbee3dec52a1d87108badaddba11bc23852bf2f",
  "parents": [
    "2c612691699deb72bab4a5a9e2ad34d59c34d91b"
  ],
  "author": {
    "name": "Vlastimil Babka",
    "email": "vbabka@suse.cz",
    "time": "Fri Sep 27 19:10:27 2024 +0200"
  },
  "committer": {
    "name": "Vlastimil Babka",
    "email": "vbabka@suse.cz",
    "time": "Mon Sep 30 09:58:25 2024 +0200"
  },
  "message": "kunit: move call to kunit_run_all_tests() after rcu_end_inkernel_boot()\n\nGuenter Roeck reports that the new slub kunit tests added by commit\n4e1c44b3db79 (\"kunit, slub: add test_kfree_rcu() and\ntest_leak_destroy()\") cause a lockup on boot on several architectures\nwhen the kunit tests are configured to be built-in and not modules.\n\nThese tests invoke kfree_rcu() and kvfree_rcu_barrier() and boot\nsequence inspection showed the runner for built-in kunit tests\nkunit_run_all_tests() is called before setting system_state to\nSYSTEM_RUNNING and calling rcu_end_inkernel_boot(), so this seems like a\nlikely cause. So while I was unable to reproduce the problem myself,\nmoving the call to kunit_run_all_tests() a bit later in the boot seems\nto have fixed the lockup problem according to Guenter\u0027s limited testing.\n\nNo kunit tests should be broken by calling the built-in executor a bit\nlater, as when compiled as modules, they are still executed even later\nthan this.\n\nFixes: 4e1c44b3db79 (\"kunit, slub: add test_kfree_rcu() and test_leak_destroy()\")\nReported-by: Guenter Roeck \u003clinux@roeck-us.net\u003e\nCloses: https://lore.kernel.org/all/6fcb1252-7990-4f0d-8027-5e83f0fb9409@roeck-us.net/\nCc: \"Paul E. McKenney\" \u003cpaulmck@kernel.org\u003e\nCc: Boqun Feng \u003cboqun.feng@gmail.com\u003e\nCc: Uladzislau Rezki \u003curezki@gmail.com\u003e\nCc: rcu@vger.kernel.org\nCc: Brendan Higgins \u003cbrendanhiggins@google.com\u003e\nCc: David Gow \u003cdavidgow@google.com\u003e\nCc: Rae Moar \u003crmoar@google.com\u003e\nCc: linux-kselftest@vger.kernel.org\nCc: kunit-dev@googlegroups.com\nSigned-off-by: Vlastimil Babka \u003cvbabka@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c4778edae7972f512d5eefe8400075ac35a70d1c",
      "old_mode": 33188,
      "old_path": "init/main.c",
      "new_id": "7890ebb00e84b8bd7bac28923fb1fe571b3e9ee2",
      "new_mode": 33188,
      "new_path": "init/main.c"
    }
  ]
}
