diff options
| author | Rakib Mullick <[email protected]> | 2017-11-17 15:40:15 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2017-12-11 17:17:40 +0000 |
| commit | 84b12b752f41cd3d25d75692c2145d816e42926c (patch) | |
| tree | 9a0b800cf0acc3fd59f31dbc117145a10be1b371 /tools/perf/scripts/python/compaction-times.py | |
| parent | rcu: Add comment giving debug strategy for double call_rcu() (diff) | |
| download | kernel-84b12b752f41cd3d25d75692c2145d816e42926c.tar.gz kernel-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 <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
