Module Name: src Committed By: seanb Date: Thu Oct 27 21:10:55 UTC 2011
Modified Files: src/sys/kern: uipc_domain.c Log Message: Use PR_SLOWHZ, PR_FASTHZ defines in a couple spots. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/kern/uipc_domain.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/uipc_domain.c diff -u src/sys/kern/uipc_domain.c:1.86 src/sys/kern/uipc_domain.c:1.87 --- src/sys/kern/uipc_domain.c:1.86 Sun May 29 03:32:46 2011 +++ src/sys/kern/uipc_domain.c Thu Oct 27 21:10:55 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_domain.c,v 1.86 2011/05/29 03:32:46 manu Exp $ */ +/* $NetBSD: uipc_domain.c,v 1.87 2011/10/27 21:10:55 seanb Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.86 2011/05/29 03:32:46 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.87 2011/10/27 21:10:55 seanb Exp $"); #include <sys/param.h> #include <sys/socket.h> @@ -602,7 +602,7 @@ pfslowtimo(void *arg) if (pr->pr_slowtimo) (*pr->pr_slowtimo)(); } - callout_schedule(&pfslowtimo_ch, hz / 2); + callout_schedule(&pfslowtimo_ch, hz / PR_SLOWHZ); } void @@ -618,5 +618,5 @@ pffasttimo(void *arg) if (pr->pr_fasttimo) (*pr->pr_fasttimo)(); } - callout_schedule(&pffasttimo_ch, hz / 5); + callout_schedule(&pffasttimo_ch, hz / PR_FASTHZ); }