HomeFreeBSD

proc: s/short/int lock-related counters

Description

proc: s/short/int lock-related counters

short is small enough that it can overflow in practice for certain cases
and then trigger wrong asserts.

One known example is vfs namecache resize which grabs all locks at once.

Reported by: gallatin
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on May 18 2023, 7:45 PM
Parents
rG6ba1be38f67d: proc: s/short/u_char for td_stopsched
Branches
Unknown
Tags
Unknown