platydoc-data/xnu/osfmk/kern/sched_prim.c
9,986 lines · · Source index
Referenced in 30 chapters
- A practical route through XNU
- Source-reference index
- The thread, its BSD extension and protected associations
- Mach runtime: execution, scheduling, and synchronization
- Objects and lifecycle
- Suspension, stopping and aborting threads
- From runnable thread to CPU execution
- From runnable thread to executing context
- ASTs: pending work, safe service points, and return-to-user control
- AST flavor reference: every bit and its consumer
- Priority, QoS, timeshare decay, and quantum expiration
- Realtime policy, deadlines, and processor-set runqueues
- Work-interval policy and thread-group selection
- Clutch hierarchy and Edge cluster placement
- Thread-group accounting and cluster migration
- CPU eligibility, SMT, and scheduler variants
- Waiting, locking, and priority inheritance
- Wait registration, mutex contention, and priority propagation
- Reader-writer locks: admission, upgrades and wakeup lifetime
- Timers and thread calls: execution, cancellation, and lifetime
- Recount tracks, execution snapshots, and resource attribution
- Bank accounts, voucher adoption, and execution charging
- Mach semaphores and eventlink signal/wait
- Mach messages: processor
- System sleep requests, capability changes, and wake completion
- ARM64 thread switching, first entry, continuations and exit
- SMR, pointer publication and deferred reclamation
- Kdebug storage, timestamp merging and consumer readout
- Sanitizer runtime, allocator hooks, and reporting
- Coverage instrumentation: device, thread and buffer lifetime
Loading source…