From: Paul E. McKenney Date: Thu, 12 Jun 2014 20:30:25 +0000 (-0700) Subject: rcu: Simplify priority boosting by putting rt_mutex in rcu_node X-Git-Tag: cleanup-for-v3.18~139^2^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abaa93d9e1de2c29297e69ddba8ddd38f15064cf;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed