From nobody Wed Aug 03 00:39:09 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 4LyCfP49tKz4Y48v; Wed, 3 Aug 2022 00:39:09 +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 4LyCfP3gpKz3VZD; Wed, 3 Aug 2022 00:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659487149; 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=KsX60hLIPxS1knzsEoTQoMGUKYt6pnD2erzKtHiCANE=; b=CezeG/zPaytKYHEK6bjhdJ6S+tLMcCKS0c4dTlXgJhPl9e6+8LypGobASVCSsLHV8Ktkpj fHarl0dmUkXFy8XnRopE8d3PfM4Gy36iyqfgU19Tw8z/NdfJASTFNhobWkmE+ecLV6gpLS juo9eUBfH8eTvTrZgbzdLHsIUGAmQobk2Vz0ur0RImLnV9SB2gARSi2J0rtDVD1KW5vZOL juSh9v4zO1969D/z1kKcMcobd0AyuvrAY5Hla+YxYkDG6ROl6RGY0mOU1/d9HpQw2+bPJM zWdNODRuMVF0/M8iZNL8O/oQ7FbeBG0ImBu1PL3Je9nyqr7qnr1kmW7WobuBTw== 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 4LyCfP2kSPzXmt; Wed, 3 Aug 2022 00:39:09 +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 2730d9j3016782; Wed, 3 Aug 2022 00:39:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2730d9Wr016781; Wed, 3 Aug 2022 00:39:09 GMT (envelope-from git) Date: Wed, 3 Aug 2022 00:39:09 GMT Message-Id: <202208030039.2730d9Wr016781@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 852695416c85 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 852695416c856abf6197d0345c1f6f9e3a70beab Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659487149; 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=KsX60hLIPxS1knzsEoTQoMGUKYt6pnD2erzKtHiCANE=; b=NR9k7a3m24y3EGanNMAlWsLV1E0J1gVHjua7h5Ko4YCaVCHpTn919gNg0PNAjHOFJqnsKc B7CbOS3uYNwOmUP1j5OGupnMykCxUrT6T6dAGLmGpZc9+C73/rMzaWm4Kg222HgFhSrwwY Z7wjSq8nTQcWxE6KpcQaklk+gBzyrCsn9hi0+bydFQrKhnF45FvKEffc/Ys0Mx8o0aHW0a 4JOQ7f28boRM9f/keiimPh8wbwG17RUrrZ54gJBNVVUk6F/6ne0uLyNye+mPlyAOF4onmW eVvNTe7KjLWTnybHfOFGwz2LgjJanAXML42Wtn34/0TlVBLKTftsMpFOVXIEFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659487149; a=rsa-sha256; cv=none; b=ILO/FbMnq68hn6LVV+x7fSKoh4eyuDFaDsPEx9juZU4C/JpyWpHg+jqLZobUfxK/NySueR OJKKNf4fPDajCPIC4lwyvNxmP9apZw7qeE4SWIdr3YDuPEBnGOCFy7Blv62qYHhW9J46Ei AgKGOloieEwCzuwUT1qaEXTeFI6Rr+JGMwF77nO0sz6OTDB3KOshBui5WgQmDSP9nngr14 GCRsYRi2oqLPwLWGwzi+uYcgumQlT1ZruoZcGJsN0BS8usUmkqGuPD0tpDxoWlA/FkNWuG Zc8ZfS2HCXNmE/A/9w1JxTxxQEoVcQ3Go8Mgm2m9OeHnZ+LDPVIvQ/Vb8eAgvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=852695416c856abf6197d0345c1f6f9e3a70beab commit 852695416c856abf6197d0345c1f6f9e3a70beab Author: Mark Johnston AuthorDate: 2022-08-03 00:31:29 +0000 Commit: Mark Johnston CommitDate: 2022-08-03 00:31:29 +0000 domain: Use designated constants for timeout periods No functional change intended. MFC after: 1 week Sponsored by: The FreeBSD Foundation --- 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 dc4a1541319c..18a682de276e 100644 --- a/sys/kern/uipc_domain.c +++ b/sys/kern/uipc_domain.c @@ -493,7 +493,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 @@ -510,5 +510,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); }