From nobody Sat Aug 20 17:34:53 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M95NY2j23z4Zpct; Sat, 20 Aug 2022 17:34:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M95NY2Bkhz3XHt; Sat, 20 Aug 2022 17:34:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661016893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+eEDJWhRMti/ADY98ugSP738Ffks1VvezjgfA1t3QP0=; b=lhSZMPh25zEdjnb2Z3WDMz2tc7MY+G78b9lZrdCCqEoXDMztPbDVJ0/T7isaOYd1rbudWs FkdIdAOCEFb2TFTPuJGsA4abzSCFDHFVIpTO5a1R9EoC2mauKSioknbOpWKV920+0HhJkB tvChf0oHwY6/1F9Sw3C4eQrxmFO0ertHDObXyyz8eI+CA+npsm8a5cZKUFB+3Sm8VLKhKc UTvrBU3Lj2tATJxP5Yh7TSyhCo6vtsMLZXO1qK2ZyuJseD32srZGRFivP2o68odQ90FyY9 nXiOrpZ129EU4ndB85KwHMsBncQriV0Ynd5dwcPMusGiZyIPLZFPrUNV9+IRxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M95NY1FcqzgWP; Sat, 20 Aug 2022 17:34:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27KHYr2O093320; Sat, 20 Aug 2022 17:34:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27KHYrrS093319; Sat, 20 Aug 2022 17:34:53 GMT (envelope-from git) Date: Sat, 20 Aug 2022 17:34:53 GMT Message-Id: <202208201734.27KHYrrS093319@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: f835be58226a - main - sleepq_set_timeout_sbt(): correct comment to not talk about ticks List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f835be58226a058c56d305455ec78c4d6f11b9fc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661016893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+eEDJWhRMti/ADY98ugSP738Ffks1VvezjgfA1t3QP0=; b=wniBpHQklX5FGngcN+HmwRSMlZ2E4M7WWG5QWtX/52LkGrew9FEmW7uiWKVOnZJEdhpxbL 4JskIGo8yCFkeFfk5TAJylGhl8+mz5DwJRtxxpPtNp4goAAybuqzzHnguvX7XTGUat/04/ ohzriMs9Y1GcPaZjzcvyD+30Musb6DJCKdt+4k2rEd1AnXz95UKdx0Od24O5y3wcQrOaDR Xy6SZK7nhcCyy59HMPvOpA/qwgATprb24dHcBWdLIJzh/qFfQ1wPRI7BfTXfDNhYzoMKF7 6aHmzzajCRG23zyvRgKvwZKEPuFfzimzu0ZgYWn+MfwbCs/6hzzHYZinxkzvdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661016893; a=rsa-sha256; cv=none; b=sTIqYJ+SVXJbLoJaXqH9QPc/sV3CcJnvA7j1zrRAodsAmvCCWg13b4CdBl0Pa4dfTxc4xG rRvpa1FI3/Eh7ckV3ihLqzikTaQ63ou11MwjNEqaCFhKmJPySMew9ZB1s7Yf3QN6SXdcpB +i2AHCwbKoxRHEZfK1ixrwdIP7ilZ29AQMicAdHpdc6dm6PiR01V9MhneuLzMLyNwwout7 v5gBR2WtaHMpAZSwAt1tS/4hvHS8iAeltJJwyIVUik4TbS0iQRn9fzFK3Mxn74MeaLGT4m QcCD+k4rAXweMoe9BHxYX9IaJMwnxHK/S8xCO3z2usUwq0oENIYH58YP7wtNFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f835be58226a058c56d305455ec78c4d6f11b9fc commit f835be58226a058c56d305455ec78c4d6f11b9fc Author: Konstantin Belousov AuthorDate: 2022-08-12 00:35:45 +0000 Commit: Konstantin Belousov CommitDate: 2022-08-20 17:33:17 +0000 sleepq_set_timeout_sbt(): correct comment to not talk about ticks It is sbt now. Also, explain what flags are. Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D36207 --- 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 112dbbf93960..164e58b2a571 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,