2018-08-09 [Linux] .config

2018-10-11  本文已影响0人  七点水Plus
# CONFIG_FAULT_INJECTION is not set
CONFIG_LATENCYTOP=y

one problem is that parallel unshare/mount causes high latency because CPU is overloaded too much (1000 processes on 1 CPU), and rwsem for namespace_lock() is unfair.

disable CONFIG_RWSEM_SPIN_ON_OWNER
CONFIG_RWSEM_SPIN_ON_OWNER=y

image.png

把kernel/Kconfig.locks里的RWSEM_SPIN_ON_OWNER的默认值
“def_bool y” 改为 “bool”,如下所示:

image.png image.png
上一篇 下一篇

猜你喜欢

热点阅读