git: a9bee9c77a82 - main - kern_racct: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Feb 2022 16:28:50 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=a9bee9c77a8293be55cb429c662902954df0386e
commit a9bee9c77a8293be55cb429c662902954df0386e
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 16:28:27 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-06 16:28:27 +0000
kern_racct: Fix a typo in a source code comment
- s/maxumum/maximum/
MFC after: 3 days
---
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 e2053de3dc2c..aeff35513d80 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))