HomeFreeBSD

locks: change sleep_cnt and spin_cnt types to u_int

Description

locks: change sleep_cnt and spin_cnt types to u_int

Both variables are uint64_t, but they only count spins or sleeps.
All reasonable values which we can get here comfortably hit in 32-bit range.

Suggested by: kib
MFC after: 1 week

Details

Provenance
mjgAuthored on
Parents
rS303583: amd64: implement pagezero using rep stos
Branches
Unknown
Tags
Unknown