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

CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT

Generic sections are present at boot

Type: bool

Help

When disabled, the linker sections other than the boot and
pinned sections will be marked as not present in the page
tables. This allows kernel to pull in data pages on demand
as required by current execution context when demand paging
is enabled. There is no need to load all code and data into
memory at once.

If unsure, say Y.

Default

  • y

Kconfig definition

At Kconfig.zephyr:244

Included via Kconfig:8

Menu path: (Top) → Build and Link Features → Linker Options → Linker Sections → Enable Usage of Pinned Linker Section

config LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT
    bool "Generic sections are present at boot" if DEMAND_PAGING && LINKER_USE_PINNED_SECTION
    default y
    help
      When disabled, the linker sections other than the boot and
      pinned sections will be marked as not present in the page
      tables. This allows kernel to pull in data pages on demand
      as required by current execution context when demand paging
      is enabled. There is no need to load all code and data into
      memory at once.

      If unsure, say Y.

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