[PATCH] mm: less atomic ops
commit674539115cc88473f623581e1d53c0e2ecef2179
authorNick Piggin <npiggin@suse.de>
Wed, 22 Mar 2006 08:08:00 +0000 (22 00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:53:57 +0000 (22 07:53 -0800)
tree7a32501091d7370ff4387df68804f918a089c631
parent4c84cacfa424264f7ad5287298d3ea4a3e935278
[PATCH] mm: less atomic ops

In the page release paths, we can be sure that nobody will mess with our
page->flags because the refcount has dropped to 0.  So no need for atomic
operations here.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm_inline.h
include/linux/page-flags.h
mm/swap.c