aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_trace.c
diff options
context:
space:
mode:
authorPetko Manolov <petkan@mip-labs.com>2015-10-12 18:23:51 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-12-04 12:34:32 -0800
commit7d86dccf28a3ae2f790f399fc82d4c82521fd078 (patch)
tree4edd2478389ec0b6c31dcae73c62fdc875033004 /kernel/rcu/tree_trace.c
parentlist: Use READ_ONCE() when testing for empty lists (diff)
downloadlinux-dev-7d86dccf28a3ae2f790f399fc82d4c82521fd078.tar.xz
linux-dev-7d86dccf28a3ae2f790f399fc82d4c82521fd078.zip
list: Introduces generic list_splice_tail_init_rcu()
The list_splice_init_rcu() can be used as a stack onto which full lists are pushed, but queue-like behavior is now needed by some security policies. This requires a list_splice_tail_init_rcu(). This commit therefore supplies a list_splice_tail_init_rcu() by pulling code common it and to list_splice_init_rcu() into a new __list_splice_init_rcu() function. This new function is based on the existing list_splice_init_rcu() implementation. Signed-off-by: Petko Manolov <petkan@mip-labs.com> Cc: Mimi Zohar <zohar@linux.vnet.ibm.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_trace.c')
0 files changed, 0 insertions, 0 deletions