git: 852695416c85 - main - domain: Use designated constants for timeout periods

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 03 Aug 2022 00:39:09 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=852695416c856abf6197d0345c1f6f9e3a70beab

commit 852695416c856abf6197d0345c1f6f9e3a70beab
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-08-03 00:31:29 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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);
 }