HomeFreeBSD

linux: remove locks around callout_drain in timerfd_close()

Description

linux: remove locks around callout_drain in timerfd_close()

The lock around callout_drain() is unnecessary and may cause
deadlock when one closes a timer descriptor during timer execution.

Reviewed By: delphij
Submitted By: ankohuu_outlook.com (Shunchao Hu)
Differential Revision: https://reviews.freebsd.org/D28148

(cherry picked from commit 14c40d2c292deff44be5591add7fdad5f9b371aa)

Details

Provenance
ankohuu_outlook.comAuthored on Feb 3 2021, 7:10 PM
traszCommitted on Feb 13 2022, 11:09 PM
Reviewer
delphij
Differential Revision
D28148: Remove unnecessary locks in function timerfd_close
Parents
rG89847f7e04a3: linux: Improve debugging by recognizing TIOCGPTPEER
Branches
Unknown
Tags
Unknown