The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_X86_MFENCE_INSTRUCTION_SUPPORTED

X86 MFENCE instruction supported

Type: bool

Help

Set n to disable the use of MFENCE instruction in arch_dcache_flush()
for X86 CPUs have CLFLUSH instruction but no MFENCE

Direct dependencies

CACHE_MANAGEMENT && !X86_64 && X86

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At arch/x86/core/Kconfig.ia32:173

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/x86/Kconfig:482

Menu path: (Top) → X86 Architecture Options

config X86_MFENCE_INSTRUCTION_SUPPORTED
    bool "X86 MFENCE instruction supported"
    default y
    depends on CACHE_MANAGEMENT && !X86_64 && X86
    help
      Set n to disable the use of MFENCE instruction in arch_dcache_flush()
      for X86 CPUs have CLFLUSH instruction but no MFENCE

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