CONFIG_MAX_THREAD_BYTES

Bytes to use when tracking object thread permissions

Type: int

Help

Every kernel object will have an associated bitfield to store thread permissions for that object. This controls the size of the bitfield (in bytes) and imposes a limit on how many threads can be created in the system.

Direct dependencies

USERSPACE

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At arch/Kconfig:106

Included via Kconfig:10Kconfig.zephyr:23

Menu path: (top menu) → General Architecture Options

config MAX_THREAD_BYTES
    int
    prompt "Bytes to use when tracking object thread permissions" if USERSPACE
    default 2 if USERSPACE
    depends on USERSPACE
    help
      Every kernel object will have an associated bitfield to store
      thread permissions for that object. This controls the size of the
      bitfield (in bytes) and imposes a limit on how many threads can
      be created in the system.

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