X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=init%2FKconfig;h=c24b6f767bf0f2a4d8a873388a5fbd59ba01c562;hb=7c5f93b05efc72feb206348da00a0a77e631a3c2;hp=02da9f1fd9df16ee1e6c6bdcf5cbc8c2e05c52d5;hpb=12f03ee606914317e7e6a0815e53a48205c31dae;p=firefly-linux-kernel-4.4.55.git diff --git a/init/Kconfig b/init/Kconfig index 02da9f1fd9df..c24b6f767bf0 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1602,6 +1602,18 @@ config PCI_QUIRKS bugs/quirks. Disable this only if your target machine is unaffected by PCI quirks. +config MEMBARRIER + bool "Enable membarrier() system call" if EXPERT + default y + help + Enable the membarrier() system call that allows issuing memory + barriers across all running threads, which can be used to distribute + the cost of user-space memory barriers asymmetrically by transforming + pairs of memory barriers into pairs consisting of membarrier() and a + compiler barrier. + + If unsure, say Y. + config EMBEDDED bool "Embedded system" option allnoconfig_y