diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2017-11-17 16:40:15 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-11 18:17:40 +0100 |
commit | 84b12b752f41cd3d25d75692c2145d816e42926c (patch) | |
tree | 9a0b800cf0acc3fd59f31dbc117145a10be1b371 /security | |
parent | rcu: Add comment giving debug strategy for double call_rcu() (diff) | |
download | linux-84b12b752f41cd3d25d75692c2145d816e42926c.tar.xz linux-84b12b752f41cd3d25d75692c2145d816e42926c.zip |
rcu: Remove have_rcu_nocb_mask from tree_plugin.h
Currently have_rcu_nocb_mask is used to avoid double allocation of
rcu_nocb_mask during boot up. Due to different representation of
cpumask_var_t on different kernel config CPUMASK=y(or n) it was okay.
But now we have a helper cpumask_available(), which can be utilized
to check whether rcu_nocb_mask has been allocated or not without using
a variable.
Removing the variable also reduces vmlinux size.
Unpatched version:
text data bss dec hex filename
13050393 7852470 14543408 35446271 21cddff vmlinux
Patched version:
text data bss dec hex filename
13050390 7852438 14543408 35446236 21cdddc vmlinux
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions