HomeFreeBSD

proc0_post: Clear relevant thread stats directly

Description

proc0_post: Clear relevant thread stats directly

rufetch() has several other effects besides clearing these per-thread
stats most of which are explicitly discarded by the subsequent calls
to ruxreset(). Just clear the relevant stats directly instead.

Reviewed by: olce, kib, markj
Differential Revision: https://reviews.freebsd.org/D54050

Details

Provenance
jhbAuthored on Dec 8 2025, 4:15 PM
Reviewer
olce
Differential Revision
D54050: proc0_post: Clear relevant thread stats directly
Parents
rGdafe50ebd874: thread0: Clear td_rux stats in proc0_post
Branches
Unknown
Tags
Unknown