diff options
| author | Paul E. McKenney <[email protected]> | 2014-06-12 13:30:25 -0700 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2014-07-09 09:15:01 -0700 |
| commit | abaa93d9e1de2c29297e69ddba8ddd38f15064cf (patch) | |
| tree | 127f64c80be6f30fed7265d42cbfc5b449853618 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 48bd8e9b82a750b983823f391c67e70553757afa (diff) | |
rcu: Simplify priority boosting by putting rt_mutex in rcu_node
RCU priority boosting currently checks for boosting via a pointer in
task_struct. However, this is not needed: As Oleg noted, if the
rt_mutex is placed in the rcu_node instead of on the booster's stack,
the boostee can simply check it see if it owns the lock. This commit
makes this change, shrinking task_struct by one pointer and the kernel
by thirteen lines.
Suggested-by: Oleg Nesterov <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions