CONFIG_KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT

Reserve extra kobject data area (in percentage)

Type: int

Help

Multiplication factor used to calculate the size of placeholder to
reserve space for kobject metadata hash table. The hash table is
generated via gperf is highly dependent on the absolute addresses of
kobjects which might change between prebuilts. To reserve enough
space for the hash table during final linking passes to keep
kobjects in same place, the size of reserved space is calculated
from the first prebuilt plus additional space calculated with
this percentage (of the kobject data area in first prebuilt).

Direct dependencies

ARCH_HAS_USERSPACE

(Includes any dependencies from ifs and menus.)

Default

  • 100

Kconfig definition

At <Zephyr>/arch/Kconfig:285

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29

Menu path: (Top) → General Architecture Options

config KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT
    int "Reserve extra kobject data area (in percentage)"
    default 100
    depends on ARCH_HAS_USERSPACE
    help
      Multiplication factor used to calculate the size of placeholder to
      reserve space for kobject metadata hash table. The hash table is
      generated via gperf is highly dependent on the absolute addresses of
      kobjects which might change between prebuilts. To reserve enough
      space for the hash table during final linking passes to keep
      kobjects in same place, the size of reserved space is calculated
      from the first prebuilt plus additional space calculated with
      this percentage (of the kobject data area in first prebuilt).

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