This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 arch/Kconfig:342

Included via Kconfig:8Kconfig.zephyr:37

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.)