Date: Wed, 9 Feb 2022 06:28:38 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d321669b73c3 - stable/12 - kern_racct: Fix a typo in a source code comment Message-ID: <202202090628.2196ScqC038296@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d321669b73c32891197bc30da1a38cb3b4de56b7 commit d321669b73c32891197bc30da1a38cb3b4de56b7 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:27:45 +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 d1ec1db880d4..cf72d8eeaaab 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))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202090628.2196ScqC038296>