美文网首页
2018-08-09 [Linux] .config

2018-08-09 [Linux] .config

作者: 七点水Plus | 来源:发表于2018-10-11 18:08 被阅读0次
    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

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

      本文链接:https://www.haomeiwen.com/subject/qjiqbftx.html