Add locker while add/remove/read the timerfd list.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
btw, do you have a reproducer? I assume that it is sufficient to use the CK_LIST without locking
sys/kern/sys_timerfd.c | ||
---|---|---|
62 | where do you initialize this lock? |
sys/kern/sys_timerfd.c | ||
---|---|---|
62 | Ah, never mind, I see that's the next line. |
Comment Actions
Yes, I see: https://cgit.freebsd.org/src/commit/sys/kern/sys_timerfd.c?id=02f534b57f84d6f4f97c337b05b383c8b3aaf18c. But it looks like this commit hasn't been merged to releng/14.0 yet.