HomeFreeBSD

Don't treat NOCPU as a valid CPU to CPU_ISSET.

Description

Don't treat NOCPU as a valid CPU to CPU_ISSET.

If a thread is created bound to a cpuset it might already be bound before
it's very first timeslice, and td_lastcpu will be NOCPU in that case.

MFC after: 1 week

Details

Provenance
jhbAuthored on
Parents
rS303502: indent(1): Use NULL instead of zero for pointers.
Branches
Unknown
Tags
Unknown