Date: Tue, 23 Aug 2022 00:29:44 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2422c420b4f0 - stable/13 - sleepq_set_timeout_sbt(): correct comment to not talk about ticks Message-ID: <202208230029.27N0TiY5032526@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=2422c420b4f071b1b504bcb4fcad0236cb68dc0e commit 2422c420b4f071b1b504bcb4fcad0236cb68dc0e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-08-12 00:35:45 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-08-22 13:37:10 +0000 sleepq_set_timeout_sbt(): correct comment to not talk about ticks (cherry picked from commit f835be58226a058c56d305455ec78c4d6f11b9fc) --- sys/kern/subr_sleepqueue.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index 0ed7427401c9..e81c6745aa24 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -388,8 +388,9 @@ sleepq_add(const void *wchan, struct lock_object *lock, const char *wmesg, } /* - * Sets a timeout that will remove the current thread from the specified - * sleep queue after timo ticks if the thread has not already been awakened. + * Sets a timeout that will remove the current thread from the + * specified sleep queue at the specified time if the thread has not + * already been awakened. Flags are from C_* (callout) namespace. */ void sleepq_set_timeout_sbt(const void *wchan, sbintime_t sbt, sbintime_t pr,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208230029.27N0TiY5032526>