git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9637a5e
)
[PATCH] swapoff: use atomic_inc_not_zero() on mm_users
author
Hugh Dickins
<hugh@veritas.com>
Fri, 23 Jun 2006 09:03:44 +0000
(
02:03
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:51 +0000
(07:42 -0700)
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>
mm/swapfile.c
patch
|
blob
|
history
diff --cc
mm/swapfile.c
Simple merge