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 <Zephyr>/Kconfig.zephyr:242
Included via <Zephyr>/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.)