HomeFreeBSD

uma: whack main zone counter update in the slow path

Description

uma: whack main zone counter update in the slow path

Cached counters are typically zero at this point so it performs
avoidable atomics. Everything reading them also reads the cached
ones, thus there is really no point.

Reviewed by: jeff

Details

Provenance
mjgAuthored on
Reviewer
jeff
Parents
rS333051: vm: move vm_cnt to __read_mostly now that it is not written to
Branches
Unknown
Tags
Unknown