The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_PRIVILEGED_STACK_SIZE

Size of privileged stack

Type: int

Help

This option sets the privileged stack region size that will be used in addition to the user mode thread stack. During normal execution, this region will be inaccessible from user mode. During system calls, this region will be utilized by the system call.

Direct dependencies

ARCH_HAS_USERSPACE

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

Defaults

Kconfig definition

At arch/Kconfig:179

Included via Kconfig:10Kconfig.zephyr:29

Menu path: (top menu) → General Architecture Options

config PRIVILEGED_STACK_SIZE
    int
    prompt "Size of privileged stack" if ARCH_HAS_USERSPACE
    default 1024 if ARCH_HAS_USERSPACE
    depends on ARCH_HAS_USERSPACE
    help
      This option sets the privileged stack region size that will be used
      in addition to the user mode thread stack.  During normal execution,
      this region will be inaccessible from user mode.  During system calls,
      this region will be utilized by the system call.

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