Page MenuHomeFreeBSD

racct: Fix accounting of CPU time for the system idle process
AcceptedPublic

Authored by markj on Tue, Apr 29, 2:53 PM.

Details

Reviewers
kib
olce
Summary
  • 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
MFC after: 2 weeks
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63779
Build 60663: arc lint + arc unit