@@ -177,7 +177,7 @@ static void delayed_put_task_struct(struct rcu_head *rhp)
void put_task_struct_rcu_user(struct task_struct *task)
{
if (refcount_dec_and_test(&task->rcu_users))
- call_rcu(&task->rcu, delayed_put_task_struct);
+ call_rcu_lazy(&task->rcu, delayed_put_task_struct);
}
void release_task(struct task_struct *p)
@@ -153,7 +153,7 @@ void free_pid(struct pid *pid)
}
spin_unlock_irqrestore(&pidmap_lock, flags);
- call_rcu(&pid->rcu, delayed_put_pid);
+ call_rcu_lazy(&pid->rcu, delayed_put_pid);
}
struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
@@ -485,7 +485,7 @@ static void release_posix_timer(struct k_itimer *tmr, int it_id_set)
}
put_pid(tmr->it_pid);
sigqueue_free(tmr->sigq);
- call_rcu(&tmr->rcu, k_itimer_rcu_free);
+ call_rcu_lazy(&tmr->rcu, k_itimer_rcu_free);
}
static int common_timer_create(struct k_itimer *new_timer)
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> --- kernel/exit.c | 2 +- kernel/pid.c | 2 +- kernel/time/posix-timers.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)