commit | 54e73770357142e297c916c7865f5fca7499f69c | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Jun 23 02:05:54 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 23 07:43:07 2006 -0700 |
tree | a37b768005eee1fdf6e0ae3051098c51f918785f | |
parent | cb259f07b1daacafac3b12ecd7f180faf7e506b0 [diff] |
[PATCH] list: introduce list_replace() helper list_replace() is similar to list_replace_rcu(), but unlike list_replace_rcu() it could be used when list_empty(old) == 1 doesn't use barriers Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>