From nobody Mon Jul 28 13:31:30 2025 X-Original-To: dev-commits-src-branches@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 4brKBW1V2dz634sp; Mon, 28 Jul 2025 13:31:31 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4brKBV3vDjz3v02; Mon, 28 Jul 2025 13:31:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753709490; 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=E+LfwrT078+41FrSWY7iEaxzRxHmsvmCQTnuFeeCQv4=; b=Ew7UQLLqXAoP463NYmGNe2a0QDCA1ki04NQQ/WPIEqCDbnYptpyaq0r2aY5f/8SezmShXs GPx0js5nxR0nlfAfg5d4oY26JoAs14CvCOlWJ7MBWtRVm3kOA9iJKwR4ECYlSLg1jzk/Bs x9Z96rJ/WFdI93+tyRkRRjmZM/vLEebmiojc26PL/pUOdNV4cWkD1at9NPLpx977mLFidb 2+C2OANEDA+8eMpGlMiJKmSVDDslLKKwIpIkRKk1mmznvxGpli+EMSFbUaVPt1M9PWLgzO 66CzRnIIcdfmwZdUS5AzDRKfEuBBKfIP94Ovb7wjT8pdVF12OMXs7xtw4Vhriw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753709490; 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=E+LfwrT078+41FrSWY7iEaxzRxHmsvmCQTnuFeeCQv4=; b=KG8MG4ak57/EMVxYgDbCoJvpOBJKZoFINcyckFPNMibuVb4ZQ0fG5z2aPzlj+zi3EZrxnV NQ++Ky7maVrEwEHF0p581DKpYwNAdcAkBT+PiFvrypGRyUnWr5H/xeDbnzt0ApExb5P0ZP 41Vzhvj/HBbnfxenKKsX4hQgoJzJrHYif318MZhaRCrQ6Mfh1eqn7umpcB9COB3/GUHDPv iWoPwty4lLdE/f+KLxRfKICAG6D04ekgerlkR5WBSYcZgYYzRjWtU3Yh59AGc9aVYzEYoQ xHDGafY/HOYdbqdDAgI2g1Zto8Xq/LRjeY91v8qxiGWFq0hXQFipj7W2GQfrBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753709490; a=rsa-sha256; cv=none; b=YnysQlu6ztOiJNyAyV5P/SswFU4b2uoRLIQpbvIzyMIqk0XRAcSB6u0s7ZwUY6pu0Vrj/C PvNTNFjKa+OsUnRe8kPR0OcPrzCJ3EV/Avq4cVSQq2YiCD9lXsanf1WlHEj9F5rPp9yuE+ 3fSAY9RJ61BD9I8y9hByZTCJlxmug+k0vN2uwvq4s8HJVjrlkA4e6XF8CNUrz1WMqjCexu cqUbgaI/5U7ez4lkSJIRg7ZPbwq2dGCYOqM372L614YyPQ9ozP45IBIOdrVPpUF4Vqgk8R DlGz07r0CbRhQ6HYyg/8WZPma8lcqqSSlX0HMhII6V1nxskxzt10MjiyeZXPog== 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 4brKBV3VtrznJb; Mon, 28 Jul 2025 13:31:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56SDVUXK080655; Mon, 28 Jul 2025 13:31:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56SDVU4w080641; Mon, 28 Jul 2025 13:31:30 GMT (envelope-from git) Date: Mon, 28 Jul 2025 13:31:30 GMT Message-Id: <202507281331.56SDVU4w080641@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: c6838df83578 - stable/14 - epoch_test: Assign different priorities using offset 1 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org 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/stable/14 X-Git-Reftype: branch X-Git-Commit: c6838df8357825d2f49c138b8a7d9d0bfdcc4760 Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=c6838df8357825d2f49c138b8a7d9d0bfdcc4760 commit c6838df8357825d2f49c138b8a7d9d0bfdcc4760 Author: Olivier Certner AuthorDate: 2025-03-13 09:31:45 +0000 Commit: Olivier Certner CommitDate: 2025-07-28 13:28:28 +0000 epoch_test: Assign different priorities using offset 1 Replace the hardcoded 4 (old RQ_PPQ) by 1 (new RQ_PPQ), as all priority levels are now treated differently. MFC after: 1 month Event: Kitchener-Waterloo Hackathon 202506 Sponsored by: The FreeBSD Foundation (cherry picked from commit a2d1c3bc2bb44a824a8d1f688aa1fd3b66fa759b) --- sys/tests/epoch/epoch_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/tests/epoch/epoch_test.c b/sys/tests/epoch/epoch_test.c index e34b5de1c422..f25e03344b36 100644 --- a/sys/tests/epoch/epoch_test.c +++ b/sys/tests/epoch/epoch_test.c @@ -148,7 +148,7 @@ test_modinit(void) printf("%s: kthread_add(epoch_test): error %d", __func__, error); } else { - pri_off = (i*4)%pri_range; + pri_off = i%pri_range; td = testthreads[i]; thread_lock(td); sched_prio(td, PRI_MIN_REALTIME + pri_off);