From nobody Fri Sep 18 14:14:57 2026 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 4hmZQC21bgz6sWNs for ; Fri, 18 Sep 2026 14:14:59 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hmZQB1yR6z4jcD for ; Fri, 18 Sep 2026 14:14:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789740899; 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=tpDgIztY+F6IQMEsy8CmA1XO2LZJetRVzS4kC/cqdEg=; b=TITb9ZD5YDc4E9gmls7xNJtTF5tYtMHu53w4eY8txEVrUA5Mwt4sRpiRL7YtLaUuV51qdB utUlb5aRMSC5NnVZaSx0+X7hWBIZdVMc3J5JYXvOl8i6qDi+eb6nABJwYv4z6myKq2R9GI YHnTyTrC0tggqo0UWpajklxmOPzVd9dZBLjT6Tt6qkroHInIljxYCcSPal7j2zkQO4qTXG d6RIhdK/1QCBf58HtMEyhY9Qdv/RYPcgQFGrKpUPA7DHgd3F6jNnGWt6FHFfsP7++qf/J9 mGttrpPCu0AoGph3CQVAcwSZ+jHV84wJ1edatazSLMoqGB1X0QtnWYtpB90X8Q== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789740899; b=Bp4SUWpvk28Z+Jlsh7ppwAKlk1yUlUqx1wIK7yzUd93tJY+dnp46w0Iq9/EqIjOmFtWboi C9r+LHyH2BUmpWCErzIMd5gczaOB4tvCVtegiKqEMGFgEJNivVDizjiW3hPQGPjd7WXWPy c4Wvf7Non6F8MFoM81YV2Vl/5Qc6sRiitzZyzCOPBUNmSAwzBCoFD816YsIC0OP7Diaas9 A/RnD786b/bsEC6iN4+QWM3U/Vn1Okt56JPpiTHWviM7YMA2UUfqJKt3cyT7sHQcA8ZYGe ko21o9bEJqMwQ4ZYW6PteoywvObvHvoKLxASO9r+AzmG8uMg9ONI5bH1pxgADg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789740899; 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=tpDgIztY+F6IQMEsy8CmA1XO2LZJetRVzS4kC/cqdEg=; b=fBmUEv++EzG2Ts9IPmV+P9cIG0+9cig/0SCjGg+lpRrfNWp5TAEKHqP7F02FFZ8wq1Y+Hh QayBp/hsAjQFkx50lOHv43ZOFaJ/NQzWeOtAp9f7HJprFwlziYLR044nYicpHvdsCXbJ0D lplj/onZOHTFeqMobXphhEI4g6sSaF7u0L/A0bCtGaNkL8ixV39FoMdJk0xdQx/OFLPnMj ujsMh0je4I6LqZ+2anmq4KBRp7pDmdv1lolCnhN+JoRIM7AloP0YSJBh2Y/j/3lIUT/L5R hElRcbseTK9kmINp8laUhfWjOYoPt6yTD1ohyDpNjE1D7rVWu3P8kvzSC6gKew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hmZQ96TdRzMN2 for ; Fri, 18 Sep 2026 14:14:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43f10 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 18 Sep 2026 14:14:57 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Minsoo Choo Subject: git: 872074c50e99 - main - sched_ule: fix comment on ts_slice 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mchoo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 872074c50e99ab8858c2defe255d716f8f75f15b Auto-Submitted: auto-generated Date: Fri, 18 Sep 2026 14:14:57 +0000 Message-Id: <6aad4761.43f10.3bd42f80@gitrepo.freebsd.org> The branch main has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=872074c50e99ab8858c2defe255d716f8f75f15b commit 872074c50e99ab8858c2defe255d716f8f75f15b Author: Minsoo Choo AuthorDate: 2026-08-24 02:25:38 +0000 Commit: Minsoo Choo CommitDate: 2026-09-18 14:14:14 +0000 sched_ule: fix comment on ts_slice In ULE ts_slice stores the number of ticks of slice passed not remaining. Reviewed by: olce Approved by: olce (mentor) MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59407 --- sys/kern/sched_ule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 8217c536d440..dc84b18e5ebf 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -87,7 +87,7 @@ struct td_sched { short ts_flags; /* TSF_* flags. */ int ts_cpu; /* CPU we are on, or were last on. */ u_int ts_rltick; /* Real last tick, for affinity. */ - u_int ts_slice; /* Ticks of slice remaining. */ + u_int ts_slice; /* Ticks of slice passed. */ u_int ts_ftick; /* %CPU window's first tick */ u_int ts_ltick; /* %CPU window's last tick */ /* All ticks count below are stored shifted by SCHED_TICK_SHIFT. */