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

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

At arch/arc/Kconfig:177

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → ARC Options → ARCv2 Family Options

config CACHE_LINE_SIZE
    int
    prompt "Cache line size" if !CACHE_LINE_SIZE_DETECT && ARC
    default 32 if ARC
    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/Kconfig:216

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

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

      Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.

(Definitions include propagated dependencies, including from if’s and menus.)