HomeFreeBSD

When calling scheduler entrypoints for creating new threads and processes,
rS132372Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When calling scheduler entrypoints for creating new threads and processes,
specify "us" as the thread not the process/ksegrp/kse.
You can always find the others from the thread but the converse is not true.
Theorotically this would lead to runtime being allocated to the wrong
entity in some cases though it is not clear how often this actually happenned.
(would only affect threaded processes and would probably be pretty benign,
but it WAS a bug..)

Reviewed by: peter

Details

Provenance
julianAuthored on
Parents
rS132371: Now we have NO_ADAPTIVE_MUTEXES option, so use it here too.
Branches
Unknown
Tags
Unknown

Event Timeline