compaction.h 430 B

123456789101112131415
  1. #ifndef _LINUX_COMPACTION_H
  2. #define _LINUX_COMPACTION_H
  3. /* Return values for compact_zone() */
  4. #define COMPACT_CONTINUE 0
  5. #define COMPACT_PARTIAL 1
  6. #define COMPACT_COMPLETE 2
  7. #ifdef CONFIG_COMPACTION
  8. extern int sysctl_compact_memory;
  9. extern int sysctl_compaction_handler(struct ctl_table *table, int write,
  10. void __user *buffer, size_t *length, loff_t *ppos);
  11. #endif /* CONFIG_COMPACTION */
  12. #endif /* _LINUX_COMPACTION_H */