The latest development version of this page may be more current than this released 1.14.1 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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/Kconfig:222

Included via Kconfig:10Kconfig.zephyr:29

Menu path: (top menu) → General Architecture Options

config DYNAMIC_OBJECTS
    bool
    prompt "Allow kernel objects to be allocated at runtime" if USERSPACE
    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.

(Definitions include propagated dependencies, including from if’s and menus.)