HomeFreeBSD

top: Use a cpuset_t to represent a CPU mask

Description

top: Use a cpuset_t to represent a CPU mask

The code attempts to detect holes in the CPU ID space, but previously
this would only work for up to sizeof(long)*8 CPUs.

MFC after: 2 weeks

(cherry picked from commit e96ed177465ee59fcc43dd0696106e5342e28c27)

Details

Provenance
markjAuthored on May 26 2023, 7:14 PM
Parents
rGf4c08b759ad1: ktrace: Make sys/ktrace.h self-contained
Branches
Unknown
Tags
Unknown