From nobody Mon Nov 16 08:07:58 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 4jSgTV58TJz71T2K for ; Mon, 16 Nov 2026 08:07:58 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jSgTV34bxz4K4Q for ; Mon, 16 Nov 2026 08:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794816478; 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=fI76tSwFuiwK1nFIfXjjvv6JoFvSHogGtZtzmwf4Ydc=; b=EupNsVECAhf8j0exXj7pXXogXUkWCxr1FuOGPKH8zaHWLZaiOLEeaSwndnNpyxew+vcMra EZ9M3lrouE4oe7gOQTGfF1n8RJx2EcavAvS6i0E9zxantb+dzFdsAn/QTQia/LiGTCcV+H SaHd9aymS7hrh+/8D3emYkC0hOSpbcAZopFhjlM0nRYholJ9/ARoHjRZLVLFfls4h8MicT dhrVJWfAlkbOMf9wUjwf24b5rXCxxIxg1rROlj0/31/jA1MYw07hjADv0vm+j3JR0qYz57 0DrJ4foo/p5COKOtnr+YkRv+irP0Ss+MVSp3MQpuV7INxZOOXFdHElZWFwTWhA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794816478; b=dkAUMq3eSVHIXaLyJVgqeFwjB2aYxMpVOY/ByGifH6LEX29zBBlVTkpRSP5OcywqruxAV0 Cc7yEMlZlsYxeSWc8Ie8OXRQSTfdNv5HdI37uJJcoSGb0WLo8pUoBgksR6MbyIEDjeEklh TqwHjbw7M6uVMWno8rB1a/swD4YjRNDk1GBh+uxXFXpWcCgMhbKVHWaGwcTd2IeVTs6Pwm 8N70rGo3xZtgW9uZ5JHCbAL5RDg/qY2axlSIrNi8mp+bOBL9L4xPsmImpKyTGHLIKpRHYg MAxLImWX7lCrM98HE0PINw0utdqA0bYHgI/eRBg28SBoH54df7aQZlHJtNcrqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794816478; 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=fI76tSwFuiwK1nFIfXjjvv6JoFvSHogGtZtzmwf4Ydc=; b=gGzhx4j7tI9nSEIOAUew60F2Z2eE0bHKX+7S1Jn7b7JgMxEDmWL3iCg0DilqKjomTWCWqm lk1G1yFdUN0QPwUMQXWm+LHh5rd7e6FcLCyYrkmrGi9cR1+KDUekydQqUcPItHkmsMAFHh ILfN/5F59Ewht6AOlsy1iEo6yTXYF1kg+3ER2z1jsAmRqozvWPVVKJmQGNgfD7by/J1S4w ZlGXFvhWVeRnHKjCxA1I3wWjyqJb5dlV2JIlXVI17wVmfrCSma3L7Zxh9ScBF0BBp82jcm B804fr8jGOwdyVkEzuUfqBznsvC2Nyqpk7ocWftaTfoxEnF9FfHMtBGZQBU/jQ== 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 4jSgTV2lgXzm7w for ; Mon, 16 Nov 2026 08:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1f3cf by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 16 Nov 2026 08:07:58 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 7d43e93a75e8 - main - sched_ule: Fix two typos in comments introduced in previous commit List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d43e93a75e8f9789521ff707a7533c0680503f0 Auto-Submitted: auto-generated Date: Mon, 16 Nov 2026 08:07:58 +0000 Message-Id: <6afab9de.1f3cf.22aa2209@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=7d43e93a75e8f9789521ff707a7533c0680503f0 commit 7d43e93a75e8f9789521ff707a7533c0680503f0 Author: Olivier Certner AuthorDate: 2026-11-16 07:53:34 +0000 Commit: Olivier Certner CommitDate: 2026-11-16 08:07:16 +0000 sched_ule: Fix two typos in comments introduced in previous commit Reported by: kib Fixes: 538c48bf6247 ("sched_ule: Fix rare deadlock on stealing a migrated lock-blocked thread") Sponsored by: The FreeBSD Foundation --- sys/kern/sched_ule.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index f9fd54285743..edd08f4ecb6f 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -1033,7 +1033,7 @@ tdq_lock_pair(struct tdq *one, bool one_locked, struct tdq *two) return; /* * That did not work. Release 'one' to acquire both - * locks in the proper order as we may need to sleep + * locks in the proper order as we may need to spin * (most probably, as 'two' has just been seen locked). */ TDQ_UNLOCK(one); @@ -2329,8 +2329,8 @@ sched_switch_migrate(struct tdq *tdq, struct thread *td, int flags) * thread to be lock-unblocked (see there why). If we dropped the * current runqueue lock, we would have to re-acquire it after putting * the thread into our remote CPU's runqueue (i.e., the source CPU for - * the steal) before finally reaching cpu_wait() which lock-unblocks the - * thread. This would create a "hidden" and arbitrary additional + * the steal) before finally reaching cpu_switch() which lock-unblocks + * the thread. This would create a "hidden" and arbitrary additional * lock-ordering dependency between the source and destination locks of * tdq_move() on one hand, and our current runqueue's lock on the other * hand, sometimes violating the lock ordering established by