CONFIG_SCHED_DEADLINE

Enable earliest-deadline-first scheduling

Type: bool

Help

This enables a simple “earliest deadline first” scheduling mode where threads can set “deadline” deltas measured in k_cycle_get_32() units. Priority decisions within (!!) a single priority will choose the next expiring deadline and not simply the least recently added thread.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/kernel/Kconfig:123

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:30

Menu path: (Top) → General Kernel Options

config SCHED_DEADLINE
    bool "Enable earliest-deadline-first scheduling"
    help
      This enables a simple "earliest deadline first" scheduling
      mode where threads can set "deadline" deltas measured in
      k_cycle_get_32() units.  Priority decisions within (!!) a
      single priority will choose the next expiring deadline and
      not simply the least recently added thread.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)