diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-21 16:53:02 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-11-04 04:20:11 +0100 |
commit | c3377c2da6e594504c900d5ef72374c109e4ca99 (patch) | |
tree | a22b9894500e373290eee77862b0f29a21879b29 /kernel/time/timer.c | |
parent | rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data (diff) | |
download | linux-c3377c2da6e594504c900d5ef72374c109e4ca99.tar.xz linux-c3377c2da6e594504c900d5ef72374c109e4ca99.zip |
rcu: Remove "cpu" argument to rcu_check_callbacks()
The "cpu" argument was kept around on the off-chance that RCU might
offload scheduler-clock interrupts. However, this offload approach
has been replaced by NO_HZ_FULL, which offloads -all- RCU processing
from qualifying CPUs. It is therefore time to remove the "cpu" argument
to rcu_check_callbacks(), which this commit does.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r-- | kernel/time/timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 3260ffdb368f..2d3f5c504939 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -1377,12 +1377,11 @@ unsigned long get_next_timer_interrupt(unsigned long now) void update_process_times(int user_tick) { struct task_struct *p = current; - int cpu = smp_processor_id(); /* Note: this timer irq context must be accounted for as well. */ account_process_tick(p, user_tick); run_local_timers(); - rcu_check_callbacks(cpu, user_tick); + rcu_check_callbacks(user_tick); #ifdef CONFIG_IRQ_WORK if (in_irq()) irq_work_tick(); |