git: 4d0c33be634a - main - kevent(2): Bugfix for wrong EVFILT_TIMER timeouts
Gordon Bergling
gbe at freebsd.org
Sat Jan 9 19:16:42 UTC 2021
On Sat, Jan 09, 2021 at 07:07:59PM +0000, Gordon Bergling wrote:
> The branch main has been updated by gbe (doc committer):
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=4d0c33be634a929f323117f04e6b1670776f9e37
>
> commit 4d0c33be634a929f323117f04e6b1670776f9e37
> Author: Jan Kokemüller <jan.kokemueller at gmail.com>
> AuthorDate: 2021-01-09 19:00:25 +0000
> Commit: Gordon Bergling <gbe at FreeBSD.org>
> CommitDate: 2021-01-09 19:00:25 +0000
>
> kevent(2): Bugfix for wrong EVFILT_TIMER timeouts
>
> When using NOTE_NSECONDS in the kevent(2) API, US_TO_SBT should be
> used instead of NS_TO_SBT, otherwise the timeout results are
> misleading.
>
> PR: 252539
> Reviewed by: kevans, kib
> Approved by: kevans
> MFC after: 3 weeks
[...]
Should be read, 'use NS_TO_SBT instead of US_TO_SBT...'.
--Gordon
More information about the dev-commits-src-main
mailing list