git: 6a3607622e00 - stable/13 - kern_racct: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Feb 2022 06:20:51 UTC
The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=6a3607622e0016ebe36776611b23deb376614368 commit 6a3607622e0016ebe36776611b23deb376614368 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-02-06 16:28:27 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-02-09 06:19:50 +0000 kern_racct: Fix a typo in a source code comment - s/maxumum/maximum/ (cherry picked from commit a9bee9c77a8293be55cb429c662902954df0386e) --- sys/kern/kern_racct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_racct.c b/sys/kern/kern_racct.c index 4df1c72d50f7..797a06cc15b1 100644 --- a/sys/kern/kern_racct.c +++ b/sys/kern/kern_racct.c @@ -535,7 +535,7 @@ racct_adjust_resource(struct racct *racct, int resource, * many processes terminated in a short time span, the ucred %cpu * resource could grow too much. Also, the 4BSD scheduler sometimes * returns for a thread more than 100% cpu usage. So we set a sane - * boundary here to 100% * the maxumum number of CPUs. + * boundary here to 100% * the maximum number of CPUs. */ if ((resource == RACCT_PCTCPU) && (racct->r_resources[RACCT_PCTCPU] > 100 * 1000000 * (int64_t)MAXCPU))