HomeFreeBSD

- Set the ke_cpu field in sched_add() for interrupt and realtime threads
rS113660Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Set the ke_cpu field in sched_add() for interrupt and realtime threads since they are going on the current cpu and not their previously assigned cpu.
  • sched_runnable() should only return true in the SMP case if the other processor has more than one thread that is runnable. We can not steal curthread.
  • Change kseq_print() to accept the cpuid instead of a kseq pointer. This makes use of this function in ddb much easier.

Details

Provenance
jeffAuthored on
Parents
rS113659: Comment out the addition of -g to CFLAGS. This snuck in from
Branches
Unknown
Tags
Unknown

Event Timeline