In places where put_task_struct() is called in a non-sleepable context,
we replace those calls by put_task_struct_atomic_safe().
These call sites were found by running internal regression tests and
looking for warnings generated by put_task_might_resched().
Signed-off-by: Wander Lairson Costa <wander@xxxxxxxxxx>
Cc: Valentin Schneider <vschneid@xxxxxxxxxx>
---
kernel/events/core.c | 6 +++---
kernel/locking/rtmutex.c | 10 +++++-----
kernel/sched/core.c | 6 +++---
kernel/sched/deadline.c | 16 ++++++++--------
kernel/sched/rt.c | 4 ++--
5 files changed, 21 insertions(+), 21 deletions(-)