From nobody Thu Aug 11 14:36:26 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 4M3Trp6Z7Nz4Y3CP; Thu, 11 Aug 2022 14:36:26 +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 4M3Trp5nRDz3Q0l; Thu, 11 Aug 2022 14:36:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660228586; 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=13I0Hw++BRIDXLQNqiKVgjwS99vRGzxTDFq3tcIqDfs=; b=G1vSBPNDDjbRcJ4F+AVgolGHkQiSlrpoWDeqzo0aLewVfIw0QiUlBJUZNm0/EUpikDMwuV mv4VjuY1/QNPFv42nJq+Q/1masc/bNqv9C1tvSeVDs5dQDTiWOiGcfxw75TSE+TaWrTXvO 2R6t8hJjHVYt276sGixpxRO8HNYPiDj5j2zRcJmV41YxKmDFfFxMu/rKIbwLdzkcisvzAa UygHDTKgBSqZPGNiWG3zEx0CcKYvbMHsPMoosClCzVCVMCN58/bJvW9K1FayLpzY5qR/9d JYCs3K/M0pFlXIvghu6p6j5sHHY4lVuC/H2Bvig8Qjy1r6xkovRo4mmUKIvoWA== 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 4M3Trp4tDRzvWg; Thu, 11 Aug 2022 14:36:26 +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 27BEaQRQ005292; Thu, 11 Aug 2022 14:36:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27BEaQGG005291; Thu, 11 Aug 2022 14:36:26 GMT (envelope-from git) Date: Thu, 11 Aug 2022 14:36:26 GMT Message-Id: <202208111436.27BEaQGG005291@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 2bf8ca97a9ae - stable/13 - domain: Use designated constants for timeout periods 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2bf8ca97a9aeabcbb8581a0612f3adf8475badeb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660228586; 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=13I0Hw++BRIDXLQNqiKVgjwS99vRGzxTDFq3tcIqDfs=; b=jd2JifWRRXAH00SvKxXj+ibUpcy7ZDWp6V1yPs9Mtyvqq84vnwUerzPUwKKBiG55Hs8h+7 pK0KauRTE/snNcR0LTcaePr6SwZx05YHvNtEBoM+r8JQXGR/Dr0aasE2eap1ybE6Q6FZPw XYSVf3MAtlYX1q4bSmalqX9K9LgRZ74Pan6KrgxRA8hZZILz4ANFKaR79Bnhn/t2SHu0R1 dz1P8spHSKDs0CL6ASq+hKS5S6CFC6jftJkrq8imDzeWVm3xL/hzLcrRHhKPGRW7wrz7bV rr1ppKQesnqTNKTwIYYSuARalhnYJpm1pHyfA/Bop9GtB5wbceoXmBmyY+ZYwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660228586; a=rsa-sha256; cv=none; b=pUjWMFrl55p+B8uue03urIyAgstl2vONO7Ti6oukfGF45M0B+U+kUHz7OFpFHpWTTIvwWP cOE9GaDfACYpeTUcKB/dc/9MiVI1zBEpU4rdbH/JxLWlB1S3zG+LBV0vUUcak2swGlmuo1 TFGKytt8DtUBSqltw6jIWcLkM0zIAzVJ31sc5fu+dAyO1zLyevLnUrt7k7jVDG3hOrKwVt ohpB/X7DGu7h5nyBJPnsSBjNM4LLA4XLdhpdLQqoWBphRRMxzs7RRgAjULtVIM7Oqt+BBH LqaGU4OA/xHbfP5Y4Uy3+kR/ce4AYCQDRQAXA+ZxGdjt4s40sm/kmfVL0o40rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2bf8ca97a9aeabcbb8581a0612f3adf8475badeb commit 2bf8ca97a9aeabcbb8581a0612f3adf8475badeb Author: Mark Johnston AuthorDate: 2022-08-03 00:31:29 +0000 Commit: Mark Johnston CommitDate: 2022-08-11 14:36:11 +0000 domain: Use designated constants for timeout periods No functional change intended. Sponsored by: The FreeBSD Foundation (cherry picked from commit 852695416c856abf6197d0345c1f6f9e3a70beab) --- sys/kern/uipc_domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c index 85a2da76012d..08ad42224848 100644 --- a/sys/kern/uipc_domain.c +++ b/sys/kern/uipc_domain.c @@ -532,7 +532,7 @@ pfslowtimo(void *arg) } NET_EPOCH_EXIT(et); rm_runlock(&pftimo_lock, &tracker); - callout_reset(&pfslow_callout, hz/2, pfslowtimo, NULL); + callout_reset(&pfslow_callout, hz / PR_SLOWHZ, pfslowtimo, NULL); } static void @@ -549,5 +549,5 @@ pffasttimo(void *arg) } NET_EPOCH_EXIT(et); rm_runlock(&pftimo_lock, &tracker); - callout_reset(&pffast_callout, hz/5, pffasttimo, NULL); + callout_reset(&pffast_callout, hz / PR_FASTHZ, pffasttimo, NULL); }