Date: Tue, 28 Jun 2022 00:56:46 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264867] kevent EVFILT_TIMER, timer expiration with twice the period Message-ID: <bug-264867-227-QkV6cMQKKq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264867-227@https.bugs.freebsd.org/bugzilla/> References: <bug-264867-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264867 --- Comment #3 from Mark Johnston <markj@FreeBSD.org> --- I'm able to reproduce what looks like a similar problem on a different test system. In my case, the extra delay is always close to a multiple of 20ms = (the kqueue timer period). Usually 40ms or 60ms. It often occurs soon after the program starts up. It happens with or without setting the scheduling polic= y. I suspect the problem is related to some kind of race in the EVFILT_TIMER c= ode. If I add EV_ONESHOT to the event, the problem is not reproducible anymore.= In the test case, when kevent() returns the timer is still armed, and it's supposed to be reconfigured by the next kevent() call. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264867-227-QkV6cMQKKq>