Skip to main content

Module service

Module service 

Source
Expand description

Scheduler timer, deferred work and reclamation services.

Structs§

ClaimedSchedulerDeadlines
Scheduler-owned deadlines claimed by one physical clockevent firing.
DeferredTaskWorkBatch
One bounded pass performed by the dedicated task-work service thread.
ExpiredTaskDeadline
Allocation-free task expiration copied into caller-owned IRQ storage.
OwnedThreadReapError
Failure returned by TaskSystem::reap_thread_handle.
SchedulerTickCpuTime
IRQ-safe tick-sampled user/system CPU time for one scheduler thread.
SchedulerTickCpuTimeSnapshot
Coherent-enough raw totals from independent monotonic tick counters.
SchedulerTickGate
Shared process or subsystem interest in scheduler-tick task work.
SchedulerTickStamp
Opaque owner-rq sample required to publish one periodic scheduler tick.
TaskClockEventOutcome
Bounded task-clockevent result consumed by the runtime clockevent owner.
TaskDeadlineExpireBatch
Result of one bounded timer-IRQ pass.
TaskDeadlineExpireRequest
Bounded timer-IRQ expiration request.
TaskDeadlineNode
Task-deadline node embedded in one generation-checked scheduler thread.
TaskDeadlineQueue
Fixed-capacity value heap created during CPU-local initialization.
TaskDeadlineRegistration
Move-only ownership of one physical task-deadline queue registration.
TaskDeadlineToken
Node identity and generation identifying one task-deadline arm operation.

Enums§

SchedulerTickMode
Execution mode sampled by the periodic scheduler tick.
SchedulerTickWorkDisposition
Task-context callback selected by one scheduler-tick publication.
TaskDeadlineError
Failure returned while arming a fixed-capacity timer.
TaskDeadlineKind
Scheduler-owned meaning of one task deadline.

Functions§

on_clock_event
Performs one bounded task-clockevent pass without allocation or callbacks.
publish_scheduler_tick
Samples CPU time and publishes extension work for a periodic scheduler tick already accounted by on_clock_event.
start_current_ktimer_service
Creates the current CPU’s shutdown-lifetime soft-timer worker.
start_deferred_task_work_service
Creates the shutdown-lifetime service thread for callbacks and reclamation.

Type Aliases§

SchedulerTickTaskWork
Scheduler-tick task-work callback.