diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-06-23 02:05:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:43:07 -0700 |
commit | 54e73770357142e297c916c7865f5fca7499f69c (patch) | |
tree | a37b768005eee1fdf6e0ae3051098c51f918785f /fs | |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions