HomeFreeBSD

- Fix an error that occurs when mp_ncpu is an odd number. steal_thresh
rS189787Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Fix an error that occurs when mp_ncpu is an odd number. steal_thresh is calculated as 0 which causes errors elsewhere.

Submitted by: KOIE Hidetaka <koie@suri.co.jp>

  • When sched_affinity() is called with a thread that is not curthread we need to handle the ON_RUNQ() case by adding the thread to the correct run queue.

Submitted by: Justin Teller <justin.teller@gmail.com>

MFC after: 1 Week

Details

Provenance
jeffAuthored on
Parents
rS189786: Bump __FreeBSD_version to 701106 after the POSIX semaphore
Branches
Unknown
Tags
Unknown

Event Timeline