posix-cpu-timers: Extend rcu_read_lock removing task_struct references
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Apr 2020 23:38:54 +0000 (18:38 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 29 Apr 2020 12:14:12 +0000 (07:14 -0500)
commit9bf7c32409354b4a2fa3207d369a22c8233f718c
treeb7e785708a6aef7cc000730ee8414cd062de05a5
parentbbd40fc4816d5329a89397206ece9f1763787a88
posix-cpu-timers: Extend rcu_read_lock removing task_struct references

Now that the code stores of pid references it is no longer necessary
or desirable to take a reference on task_struct in __get_task_for_clock.

Instead extend the scope of rcu_read_lock and remove the reference
counting on struct task_struct entirely.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/time/posix-cpu-timers.c