aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/page-flags.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2006-03-22 03:08:01 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 10:53:57 -0500
commit5e9dace8d386def04219134d7160e8a778824764 (patch)
treed74ca57577cc4872eb6bcf609e3c7f7d1a39fdf6 /include/linux/page-flags.h
parent674539115cc88473f623581e1d53c0e2ecef2179 (diff)
[PATCH] mm: page_alloc less atomics
More atomic operation removal from page allocator 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index da71d63df465..76c7ffdd0424 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -328,8 +328,8 @@ extern void __mod_page_state_offset(unsigned long offset, unsigned long delta);
328#define TestClearPageReclaim(page) test_and_clear_bit(PG_reclaim, &(page)->flags) 328#define TestClearPageReclaim(page) test_and_clear_bit(PG_reclaim, &(page)->flags)
329 329
330#define PageCompound(page) test_bit(PG_compound, &(page)->flags) 330#define PageCompound(page) test_bit(PG_compound, &(page)->flags)
331#define SetPageCompound(page) set_bit(PG_compound, &(page)->flags) 331#define __SetPageCompound(page) __set_bit(PG_compound, &(page)->flags)
332#define ClearPageCompound(page) clear_bit(PG_compound, &(page)->flags) 332#define __ClearPageCompound(page) __clear_bit(PG_compound, &(page)->flags)
333 333
334#ifdef CONFIG_SWAP 334#ifdef CONFIG_SWAP
335#define PageSwapCache(page) test_bit(PG_swapcache, &(page)->flags) 335#define PageSwapCache(page) test_bit(PG_swapcache, &(page)->flags)