This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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.)