summaryrefslogblamecommitdiffstats
path: root/include/linux/compaction.h
blob: 572388880ba8ffb3ba374887c551e834aede4409 (plain) (tree)
1
2
3
4
5
6
7
8







                                      





                                                                           
                                
#ifndef _LINUX_COMPACTION_H
#define _LINUX_COMPACTION_H

/* Return values for compact_zone() */
#define COMPACT_CONTINUE	0
#define COMPACT_PARTIAL		1
#define COMPACT_COMPLETE	2

#ifdef CONFIG_COMPACTION
extern int sysctl_compact_memory;
extern int sysctl_compaction_handler(struct ctl_table *table, int write,
			void __user *buffer, size_t *length, loff_t *ppos);
#endif /* CONFIG_COMPACTION */

#endif /* _LINUX_COMPACTION_H */