2018-08-09 [Linux] .config

    1. Latency
# CONFIG_FAULT_INJECTION is not set
CONFIG_LATENCYTOP=y
    1. rwsem

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

2018-08-09 [Linux] .config_第1张图片
image.png

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

image.png
    1. LOCKDEP_SUPPORT
      vim arch/x86/Kconfig
      “def_bool y” 改为 “bool”,如下所示:
image.png

你可能感兴趣的:(2018-08-09 [Linux] .config)