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_LONGMODE && X86)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At arch/arc/Kconfig:183

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15

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 arch/x86/core/Kconfig.ia32:292

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/x86/Kconfig:111

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_LONGMODE && 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.)