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_X86_COMMON_PAGE_TABLE

Use a single page table for all threads

Type: bool

Help

If this option is enabled, userspace memory domains will not have their
own page tables. Instead, context switching operations will modify
page tables in place. This is much slower, but uses much less RAM
for page tables.

Direct dependencies

USERSPACE && !SMP && !X86_KPTI && X86

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At arch/x86/Kconfig:346

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config X86_COMMON_PAGE_TABLE
    bool "Use a single page table for all threads"
    default n
    depends on USERSPACE && !SMP && !X86_KPTI && X86
    help
      If this option is enabled, userspace memory domains will not have their
      own page tables. Instead, context switching operations will modify
      page tables in place. This is much slower, but uses much less RAM
      for page tables.

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