)]}'
{
  "commit": "a2795d9c65bd9d8b863a04dfbf6a05c2e99381d0",
  "tree": "04771e0842e6dde5c6f2d16e1a404a9f282d30a1",
  "parents": [
    "f46cd8241d9b83f2279cc0db3e9d3e181b548a59"
  ],
  "author": {
    "name": "Jens Axboe",
    "email": "axboe@kernel.dk",
    "time": "Fri Oct 16 09:15:13 2026 -0600"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Oct 30 13:09:52 2026 +0100"
  },
  "message": "io_uring/poll: don\u0027t loop on HUP with multiple references\n\ncommit 67bb1ad9a517bedf1e1599fe5448620b9f38bf2a upstream.\n\nio_poll_check_events() drops down to one reference when a multishot\nrequest sees HUP with more than one, so that the loop goes around once\nmore. It did so by subtracting one less than it had. With the cmpxchg\nthat only takes the local count down: the exchange fails, the next pass\nreads the unchanged count, and goes through the same motions again. The\nloop then only ends once io_poll_issue() stops the request.\n\nDrop the extra references from the counter instead, and loop once more\nwithout trying the exchange. The next pass sees one reference, like it\ndid before, and ends unless a wake up came in.\n\nFixes: 937d38dcacd6 (\"io_uring/poll: avoid retry wakeup loss when dropping ownership\")\nSigned-off-by: Jens Axboe \u003caxboe@kernel.dk\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44765eafa00dc4474c73ec44a7f2d92fd8f7c8bd",
      "old_mode": 33188,
      "old_path": "io_uring/poll.c",
      "new_id": "0ad9c00efdea935d89ac92d9587950ffdfa3e6d8",
      "new_mode": 33188,
      "new_path": "io_uring/poll.c"
    }
  ]
}
