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

Details

Provenance
ankohuu_outlook.comAuthored on Feb 3 2021, 7:10 PM
traszCommitted on Feb 3 2021, 7:47 PM
Reviewer
delphij
Differential Revision
D28148: Remove unnecessary locks in function timerfd_close
Parents
R10:33f0540b13d9: Revert "Reimplement strlen"
Branches
Unknown
Tags
Unknown