diff options
| author | 2007-02-10 01:45:42 -0800 | |
|---|---|---|
| committer | 2007-02-11 10:51:31 -0800 | |
| commit | 3678d62f028689abc8ac5693b254e48f605f94ba (patch) | |
| tree | 7a897ae6d308411586c274e23f940b4d280b7ff1 /lib/string.c | |
| parent | [PATCH] fix sparse warnings from {asm,net}/checksum.h (diff) | |
| download | wireguard-linux-3678d62f028689abc8ac5693b254e48f605f94ba.tar.xz wireguard-linux-3678d62f028689abc8ac5693b254e48f605f94ba.zip | |
[PATCH] add an RCU version of list splicing
This patch is in support of the IPMI driver. I have tested this with the
IPMI driver changes coming in the next patch.
Add a list_splice_init_rcu() function to splice an RCU-protected list into
another list. This takes the sync function as an argument, so one would do
something like:
INIT_LIST_HEAD(&list);
list_splice_init_rcu(&source, &dest, synchronize_rcu);
The idea being to keep the RCU API proliferation down to a dull roar.
[akpm@osdl.org: build fix]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
