diff options
author | Hugh Dickins <hugh@veritas.com> | 2006-06-23 02:03:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:51 -0700 |
commit | 70af7c5c6492ef6ad137dbff6c4568c73edbcaf0 (patch) | |
tree | 4e8646ba72b14f2bdd94802d42684c00c1a7507c /ipc | |
parent | 9637a5efd4fbe36164c5ce7f6a0ee68b2bf22b7f (diff) | |
download | linux-next-70af7c5c6492ef6ad137dbff6c4568c73edbcaf0.tar.gz |
[PATCH] swapoff: use atomic_inc_not_zero() on mm_users
Now that we have atomic_inc_not_zero, it's more elegant for try_to_unuse to
use that on mm_users: doesn't actually matter at present, but safer to be
sure that once mm_users has gone to 0, nothing raises it for an instant.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions