From nobody Sun Feb 06 16:28:50 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 44A8119B1A64; Sun, 6 Feb 2022 16:28:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsF8L5mf6z4mx5; Sun, 6 Feb 2022 16:28:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644164931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6e6vIgcfXYGr2ubbCPG3JKWy1aJyNtfAZwvvHdrjwuw=; b=nzuOvImdTZ6KILsaBa30zQF92bAgmoADj1NG6by919rqZgD35xN6+128YWGLnJToV/zUDQ CH7TBvf1eqSU/W7x2DB9T061pFbcaGYL5SB3YYToiidqYqwLaQKE+StFbcveSPGYYP0TKU V42GuwL7LvgP9ae2pdOpY4JnuILRKZxxzP875x3vc5v8gmjmq4artAbeJxOvDH8oE+fvw7 IUUQ8vnMagZBk93fs7bO5Rq3qXh34USAh20Lf0/wLpMYNTFWoRkGIWCa/fnmu8N4X/xL4N ilZR4ghqVmFVasLp70RUR1xoVrEkcn9dVbFhzGeWJeP+Wc/HexePZL5yfXA+/A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E5D5157C7; Sun, 6 Feb 2022 16:28:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 216GSomA063590; Sun, 6 Feb 2022 16:28:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 216GSoZI063589; Sun, 6 Feb 2022 16:28:50 GMT (envelope-from git) Date: Sun, 6 Feb 2022 16:28:50 GMT Message-Id: <202202061628.216GSoZI063589@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: a9bee9c77a82 - main - kern_racct: Fix a typo in a source code comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a9bee9c77a8293be55cb429c662902954df0386e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644164931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6e6vIgcfXYGr2ubbCPG3JKWy1aJyNtfAZwvvHdrjwuw=; b=VO6Vu/IFGgJhpivM7VWZOq+ZchqQD/bCL7UKRDKRTO9y6+A3uLMaqdeiQpEp0cC/tfXLG6 Z2sj1nf+AIZLVrCArUUGX0B4n3SFvGAW8SAp8MqTGxM5IWOJQyIDj88LQvG+jJdLbvFOaV PruTxsjUGmHUpW/hd76v7bZKtFoCYlhPkMmPo7lJun5LSRhithGgaZrwJMXOBnDwvkZyTk iPW6zjHxkwdzQf7MsaoxqBZ8p6s/aOThXBHCsr1c5EVxYqp33bBTAW+0RsUoBZiYonBhbp zV+ZCp0waSpsfYuWScxz+dilFMa4bokix+KwJhJbA69gEx7BrHJCaiMxmXI+Ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644164931; a=rsa-sha256; cv=none; b=BMpnj8yQ2wuDKE64GNh+1CVJRtVtmdwsQ460m9oO2XANXANH01LdAoNestKFAhbKtNgcaO jN50K4003r/mHe9YzfWmUotkLoSsRV3e82UP92jmo0g6bUDokYa7NLCO66SlKc87bJHbxD d+nfCYjZjsK1Wh9h4vKY1QBoTfI/XpQuoLtPY+/ja9FJMotGGKPW5kaom8CQ4DTY8ONGED sLCJAIt+6CoaFmXbcatb4rLS5uz1ERb4B/AkmLkYtIFVOZXVrEQNokvaT0+z7fQUQf+uMk SYDGURfvYuv2cWmGJ3W8neISWhhabsbFYdqCLTK5xnn3ka6e6+50Qw1W4UXCMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a9bee9c77a8293be55cb429c662902954df0386e commit a9bee9c77a8293be55cb429c662902954df0386e Author: Gordon Bergling AuthorDate: 2022-02-06 16:28:27 +0000 Commit: Gordon Bergling 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))