kernel: cherry-pick upstream poll-hang fix (implement unregister_queue)

486a7818 'Fix poll hang in os-test basic/poll': the fork still had
unregister_queue as a //TODO stub, so closed event queues leaked their registry
entries (the poll-hang class). Merged with RedBear's ref-counted queue-close
logic: keep the kdup dec_ref/is_last handling, and call unregister_queue(id,
token) to clean the registry when the last fd closes. Event-timeout handling was
already present as RedBear's own impl.
This commit is contained in:
2026-08-01 07:18:42 +03:00
parent 75a30dbaaf
commit 5fdbbe82e9