Searched hist:"70 af7c5c6492ef6ad137dbff6c4568c73edbcaf0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | swapfile.c | diff 70af7c5c6492ef6ad137dbff6c4568c73edbcaf0 Fri Jun 23 04:03:44 CDT 2006 Hugh Dickins <hugh@veritas.com> [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>
|