summaryrefslogtreecommitdiff
path: root/Documentation/RCU/Design/Data-Structures
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2017-11-17 21:40:15 +0600
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-12-11 09:17:40 -0800
commit84b12b752f41cd3d25d75692c2145d816e42926c (patch)
tree9a0b800cf0acc3fd59f31dbc117145a10be1b371 /Documentation/RCU/Design/Data-Structures
parentefd88b02bb9e6b8b73a20ea611e5d07ed6d4af34 (diff)
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 'Documentation/RCU/Design/Data-Structures')
0 files changed, 0 insertions, 0 deletions