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:
+1
-1
Submodule local/sources/kernel updated: 019204be6c...6ed40d3b96
Reference in New Issue
Block a user