Date: Thu, 01 May 2025 14:23:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269097] rctl(8) seems to include idle time in cputime Message-ID: <bug-269097-227-ctkCQmfcKe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269097-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269097 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=33be1632047c05dbfcc139476e05f49c3a86d560 commit 33be1632047c05dbfcc139476e05f49c3a86d560 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-05-01 13:59:55 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-05-01 14:22:25 +0000 racct: Fix accounting of CPU time for the system idle process - Add a flag which cleanly indicates that a given process is the system idle process. - Modify racctd() to skip over the idle proc when aggregating CPU time and other metrics which don't apply to the idle thread. - Remove handling for idle threads from racct_getpcpu(). PR: 269097 Reviewed by: olce, kib Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D50073 sys/kern/kern_idle.c | 3 +++ sys/kern/kern_racct.c | 22 ++++------------------ sys/sys/proc.h | 2 +- 3 files changed, 8 insertions(+), 19 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269097-227-ctkCQmfcKe>
