These should eventually be per-smr I suspect but for now this is helpful.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Logic looks fine. I trust you've checked any performance effects.
In advance you count on entry, and then also on the slow path, whereas in poll you count either fast or slow. Did you mean to approach those differently?
sys/kern/subr_smr.c | ||
---|---|---|
168 ↗ | (On Diff #67646) | Should they be initialized with EARLY_COUNTER? Since it seems that UMA SMR is available after SI_SUB_VM. |
Comment Actions
It might make more sense to count all polls and then number of polls that scan. I will look at that.