Mel Gorman | 748446b | 2010-05-24 14:32:27 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_COMPACTION_H |
| 2 | #define _LINUX_COMPACTION_H |
| 3 | |
| 4 | /* Return values for compact_zone() */ |
| 5 | #define COMPACT_CONTINUE 0 |
| 6 | #define COMPACT_PARTIAL 1 |
| 7 | #define COMPACT_COMPLETE 2 |
| 8 | |
Mel Gorman | 76ab0f5 | 2010-05-24 14:32:28 -0700 | [diff] [blame^] | 9 | #ifdef CONFIG_COMPACTION |
| 10 | extern int sysctl_compact_memory; |
| 11 | extern int sysctl_compaction_handler(struct ctl_table *table, int write, |
| 12 | void __user *buffer, size_t *length, loff_t *ppos); |
| 13 | #endif /* CONFIG_COMPACTION */ |
| 14 | |
Mel Gorman | 748446b | 2010-05-24 14:32:27 -0700 | [diff] [blame] | 15 | #endif /* _LINUX_COMPACTION_H */ |