• M
    rcu: Enable RCU tracepoints by default to aid in debugging · 96151825
    Matt Fleming 提交于
    While debugging a performance issue I needed to understand why
    RCU sofitrqs were firing so frequently.
    
    Unfortunately, the RCU callback tracepoints are hidden behind
    CONFIG_RCU_TRACE which defaults to off in the upstream kernel and is
    likely to also be disabled in enterprise distribution configs.
    
    Enable it by default for CONFIG_TREE_RCU. However, we must keep it
    disabled for tiny RCU, because it would otherwise pull in a large
    amount of code that would make tiny RCU less than tiny.
    
    I ran some file system metadata intensive workloads (git checkout,
    FS-Mark) on a variety of machines with this patch and saw no
    detectable change in performance.
    
    Cc: Mel Gorman <mgorman@techsingularity.net>
    Signed-off-by: NMatt Fleming <matt@codeblueprint.co.uk>
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
    96151825
Kconfig.debug 68.0 KB