)]}'
{
  "commit": "e69a66147d49506062cd837f3b230ee3e98102ab",
  "tree": "1d2690c89d6befa274bb80a8bb908baac1d2f2cd",
  "parents": [
    "2cc39179acbbe524127f0427cee92b629db4d64b"
  ],
  "author": {
    "name": "Aaron Tomlin",
    "email": "atomlin@redhat.com",
    "time": "Mon Jul 11 18:17:19 2022 +0100"
  },
  "committer": {
    "name": "Luis Chamberlain",
    "email": "mcgrof@kernel.org",
    "time": "Mon Jul 11 10:19:09 2022 -0700"
  },
  "message": "module: kallsyms: Ensure preemption in add_kallsyms() with PREEMPT_RT\n\nThe commit 08126db5ff73 (\"module: kallsyms: Fix suspicious rcu usage\")\nunder PREEMPT_RT\u003dy, disabling preemption introduced an unbounded\nlatency since the loop is not fixed. This change caused a regression\nsince previously preemption was not disabled and we would dereference\nRCU-protected pointers explicitly. That being said, these pointers\ncannot change.\n\nBefore kallsyms-specific data is prepared/or set-up, we ensure that\nthe unformed module is known to be unique i.e. does not already exist\n(see load_module()). Therefore, we can fix this by using the common and\nmore appropriate RCU flavour as this section of code can be safely\npreempted.\n\nReported-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nFixes: 08126db5ff73 (\"module: kallsyms: Fix suspicious rcu usage\")\nSigned-off-by: Aaron Tomlin \u003catomlin@redhat.com\u003e\nSigned-off-by: Luis Chamberlain \u003cmcgrof@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "18c23545b98450ca8efeeeb2428924b8b652a274",
      "old_mode": 33188,
      "old_path": "kernel/module/kallsyms.c",
      "new_id": "77e75bead5698c3ffe86d0a4a991543484ff2c69",
      "new_mode": 33188,
      "new_path": "kernel/module/kallsyms.c"
    }
  ]
}
