CONFIG_DYNAMIC_OBJECTS

Allow kernel objects to be allocated at runtime

Type: bool

Help

Enabling this option allows for kernel objects to be requested from
the calling thread's resource pool, at a slight cost in performance
due to the supplemental run-time tables required to validate such
objects.

Objects allocated in this way can be freed with a supervisor-only
API call, or when the number of references to that object drops to
zero.

Direct dependencies

USERSPACE

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At <Zephyr>/arch/Kconfig:343

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

Menu path: (Top) → General Architecture Options

config DYNAMIC_OBJECTS
    bool "Allow kernel objects to be allocated at runtime"
    depends on USERSPACE
    help
      Enabling this option allows for kernel objects to be requested from
      the calling thread's resource pool, at a slight cost in performance
      due to the supplemental run-time tables required to validate such
      objects.

      Objects allocated in this way can be freed with a supervisor-only
      API call, or when the number of references to that object drops to
      zero.

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