lkml.org 
[lkml]   [2019]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/3] task: Making tasks on the runqueue rcu protected

I have split this work into 3 simple patches, so the code is straight
forward to review and so that if any mistakes slip in it is easy to
bisect them. In the process of review what it takes to remove
task_rcu_dereference I found yet another user of tasks on the
runqueue in rcu context; the rcuwait_event code. That code only needs
it now unnecessary limits removed.

I have lightly tested it, and read through everything I can think of
that might be an issue.

Peter would this be a good fit for your scheduler tree? If not I will
toss it onto a branch someplace and send it to Linus when the merge
window opens.

Oleg do you have any issues with this code?

Eric W. Biederman (3):
task: Add a count of task rcu users
task: RCU protect tasks on the runqueue
task: Clean house now that tasks on the runqueue are rcu protected

include/linux/rcuwait.h | 20 +++----------
include/linux/sched.h | 5 +++-
include/linux/sched/task.h | 2 +-
kernel/exit.c | 74 ++++------------------------------------------
kernel/fork.c | 8 +++--
kernel/sched/core.c | 7 +++--
kernel/sched/fair.c | 2 +-
kernel/sched/membarrier.c | 4 +--
8 files changed, 27 insertions(+), 95 deletions(-)

Eric

\
 
 \ /
  Last update: 2019-09-03 06:51    [W:0.214 / U:5.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site