summaryrefslogtreecommitdiffstats
path: root/include/linux/srcutiny.h
diff options
context:
space:
mode:
authorPaul E. McKenney2017-04-19 01:01:46 +0200
committerPaul E. McKenney2017-04-26 20:23:12 +0200
commitc7e88067c1ae89e7bcbed070fb2c4e30bc39b51f (patch)
tree4625614c62fe99fd72292cb9c0e60f2f2ff23b2c /include/linux/srcutiny.h
parentsrcu: Make SRCU be built by default (diff)
downloadkernel-qcow2-linux-c7e88067c1ae89e7bcbed070fb2c4e30bc39b51f.tar.gz
kernel-qcow2-linux-c7e88067c1ae89e7bcbed070fb2c4e30bc39b51f.tar.xz
kernel-qcow2-linux-c7e88067c1ae89e7bcbed070fb2c4e30bc39b51f.zip
srcu: Exact tracking of srcu_data structures containing callbacks
The current Tree SRCU implementation schedules a workqueue for every srcu_data covered by a given leaf srcu_node structure having callbacks, even if only one of those srcu_data structures actually contains callbacks. This is clearly inefficient for workloads that don't feature callbacks everywhere all the time. This commit therefore adds an array of masks that are used by the leaf srcu_node structures to track exactly which srcu_data structures contain callbacks. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Mike Galbraith <efault@gmx.de>
Diffstat (limited to 'include/linux/srcutiny.h')
0 files changed, 0 insertions, 0 deletions