diff options
author | 2020-04-19 21:57:15 +0000 | |
---|---|---|
committer | 2020-06-29 11:58:49 -0700 | |
commit | abfce0414814149f716e1d30da1fb3140d1b3473 (patch) | |
tree | 865138345c93d7bcd96f9745ccdb83e560b21aaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls (diff) | |
download | wireguard-linux-abfce0414814149f716e1d30da1fb3140d1b3473.tar.xz wireguard-linux-abfce0414814149f716e1d30da1fb3140d1b3473.zip |
rcu: Simplify the calculation of rcu_state.ncpus
There is only 1 bit set in mask, which means that the only difference
between oldmask and the new one will be at the position where the bit is
set in mask. This commit therefore updates rcu_state.ncpus by checking
whether the bit in mask is already set in rnp->expmaskinitnext.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions