diff options
author | Nick Piggin <npiggin@suse.de> | 2006-03-22 00:08:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:53:57 -0800 |
commit | 4c84cacfa424264f7ad5287298d3ea4a3e935278 (patch) | |
tree | 8cefe97dfd0cdfbdebe5636ccc68b14ab3ae1207 /include/linux/page-flags.h | |
parent | 8d438f96d2b8eade6cbcd8adfc22dae6f5cbd6c0 (diff) | |
download | op-kernel-dev-4c84cacfa424264f7ad5287298d3ea4a3e935278.zip op-kernel-dev-4c84cacfa424264f7ad5287298d3ea4a3e935278.tar.gz |
[PATCH] mm: PageActive no testset
PG_active is protected by zone->lru_lock, it does not need TestSet/TestClear
operations.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/page-flags.h')
-rw-r--r-- | include/linux/page-flags.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 58856c8..5d1e7bd 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -246,8 +246,6 @@ extern void __mod_page_state_offset(unsigned long offset, unsigned long delta); #define PageActive(page) test_bit(PG_active, &(page)->flags) #define SetPageActive(page) set_bit(PG_active, &(page)->flags) #define ClearPageActive(page) clear_bit(PG_active, &(page)->flags) -#define TestClearPageActive(page) test_and_clear_bit(PG_active, &(page)->flags) -#define TestSetPageActive(page) test_and_set_bit(PG_active, &(page)->flags) #define PageSlab(page) test_bit(PG_slab, &(page)->flags) #define SetPageSlab(page) set_bit(PG_slab, &(page)->flags) |