diff options
author | Petko Manolov <petkan@mip-labs.com> | 2015-10-12 15:23:51 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-12-04 20:34:32 (GMT) |
commit | 7d86dccf28a3ae2f790f399fc82d4c82521fd078 (patch) | |
tree | 4edd2478389ec0b6c31dcae73c62fdc875033004 /kernel/rcu/tree_plugin.h | |
parent | 1658d35ead5d8dd76f2b2d6ad0e32c08d123faa2 (diff) | |
download | linux-7d86dccf28a3ae2f790f399fc82d4c82521fd078.tar.xz |
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_plugin.h')
0 files changed, 0 insertions, 0 deletions