Root/
1 | #ifndef LINUX_PAGE_DEBUG_FLAGS_H |
2 | #define LINUX_PAGE_DEBUG_FLAGS_H |
3 | |
4 | /* |
5 | * page->debug_flags bits: |
6 | * |
7 | * PAGE_DEBUG_FLAG_POISON is set for poisoned pages. This is used to |
8 | * implement generic debug pagealloc feature. The pages are filled with |
9 | * poison patterns and set this flag after free_pages(). The poisoned |
10 | * pages are verified whether the patterns are not corrupted and clear |
11 | * the flag before alloc_pages(). |
12 | */ |
13 | |
14 | enum page_debug_flags { |
15 | PAGE_DEBUG_FLAG_POISON, /* Page is poisoned */ |
16 | }; |
17 | |
18 | /* |
19 | * Ensure that CONFIG_WANT_PAGE_DEBUG_FLAGS reliably |
20 | * gets turned off when no debug features are enabling it! |
21 | */ |
22 | |
23 | #ifdef CONFIG_WANT_PAGE_DEBUG_FLAGS |
24 | #if !defined(CONFIG_PAGE_POISONING) \ |
25 | /* && !defined(CONFIG_PAGE_DEBUG_SOMETHING_ELSE) && ... */ |
26 | #error WANT_PAGE_DEBUG_FLAGS is turned on with no debug features! |
27 | #endif |
28 | #endif /* CONFIG_WANT_PAGE_DEBUG_FLAGS */ |
29 | |
30 | #endif /* LINUX_PAGE_DEBUG_FLAGS_H */ |
31 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9