HomeFreeBSD

- Replace the local maxcpu with mp_maxid. Previously, if mp_maxid
rS123057Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Replace the local maxcpu with mp_maxid. Previously, if mp_maxid was equal to MAXCPU, we would overrun the pcpu_mtx array because maxcpu was calculated incorrectly.
  • Add some more debugging code so that memory leaks at the time of uma_zdestroy() are more easily diagnosed.

Approved by: re (rwatson)

Details

Provenance
jeffAuthored on
Parents
rS123056: MFC: Fix some minor nits in netstat whereby large interface names would be
Branches
Unknown
Tags
Unknown

Event Timeline