CONFIG_CACHE_LINE_SIZE

Cache line size

Cache line size

Type: int

Help

Size in bytes of a CPU d-cache line.

Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.

Help

Size in bytes of a CPU cache line.

Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.

Direct dependencies

ARC || (!X86_64 && X86)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <Zephyr>/arch/arc/Kconfig:292

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

Menu path: (Top) → ARC Options → ARCv2 Family Options

config CACHE_LINE_SIZE
    int "Cache line size" if !CACHE_LINE_SIZE_DETECT
    default 32
    depends on ARC
    help
      Size in bytes of a CPU d-cache line.

      Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.

At <Zephyr>/arch/x86/core/Kconfig.ia32:154

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/x86/Kconfig:327

Menu path: (Top) → X86 Architecture Options → Processor Capabilities

config CACHE_LINE_SIZE
    int "Cache line size" if !CACHE_LINE_SIZE_DETECT
    default 64 if CPU_ATOM
    default 0
    depends on !X86_64 && X86
    help
      Size in bytes of a CPU cache line.

      Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.

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