summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/update.c
diff options
context:
space:
mode:
authorYao Dongdong <yaodongdong@huawei.com>2015-02-25 17:09:46 +0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-03 11:17:34 -0800
commit9910affa89fe0895153880b115ec243636e70af3 (patch)
treeab40cc06ff632e6abc46a3aa920575593de9248b /kernel/rcu/update.c
parente7580f33889299e484a80f42c20611ead42f199e (diff)
downloadop-kernel-dev-9910affa89fe0895153880b115ec243636e70af3.zip
op-kernel-dev-9910affa89fe0895153880b115ec243636e70af3.tar.gz
rcu: Remove redundant check of cpu_online()
Because invoke_cpu_core() checks whether the current CPU is online, there is no need for __call_rcu_core() to redundantly check it. There should not be any performance degradation because the called function is visible to the compiler. This commit therefore removes the redundant check. Signed-off-by: Yao Dongdong <yaodongdong@huawei.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/update.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud