1951a39d68df598db08dfced8b4707755864a0492Ying Wang/**************************************************************************** 2951a39d68df598db08dfced8b4707755864a0492Ying Wang **************************************************************************** 3951a39d68df598db08dfced8b4707755864a0492Ying Wang *** 4951a39d68df598db08dfced8b4707755864a0492Ying Wang *** This header was automatically generated from a Linux kernel header 5951a39d68df598db08dfced8b4707755864a0492Ying Wang *** of the same name, to make information necessary for userspace to 6951a39d68df598db08dfced8b4707755864a0492Ying Wang *** call into the kernel available to libc. It contains only constants, 7951a39d68df598db08dfced8b4707755864a0492Ying Wang *** structures, and macros generated from the original header, and thus, 8951a39d68df598db08dfced8b4707755864a0492Ying Wang *** contains no copyrightable information. 9951a39d68df598db08dfced8b4707755864a0492Ying Wang *** 10951a39d68df598db08dfced8b4707755864a0492Ying Wang **************************************************************************** 11951a39d68df598db08dfced8b4707755864a0492Ying Wang ****************************************************************************/ 12951a39d68df598db08dfced8b4707755864a0492Ying Wang#ifndef _LINUX_MEMPOLICY_H 13951a39d68df598db08dfced8b4707755864a0492Ying Wang#define _LINUX_MEMPOLICY_H 1 14951a39d68df598db08dfced8b4707755864a0492Ying Wang 15951a39d68df598db08dfced8b4707755864a0492Ying Wang#include <linux/errno.h> 16951a39d68df598db08dfced8b4707755864a0492Ying Wang 17951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_DEFAULT 0 18951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_PREFERRED 1 19951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_BIND 2 20951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_INTERLEAVE 3 21951a39d68df598db08dfced8b4707755864a0492Ying Wang 22951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_MAX MPOL_INTERLEAVE 23951a39d68df598db08dfced8b4707755864a0492Ying Wang 24951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_F_NODE (1<<0) 25951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_F_ADDR (1<<1) 26951a39d68df598db08dfced8b4707755864a0492Ying Wang 27951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_MF_STRICT (1<<0) 28951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_MF_MOVE (1<<1) 29951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_MF_MOVE_ALL (1<<2) 30951a39d68df598db08dfced8b4707755864a0492Ying Wang#define MPOL_MF_INTERNAL (1<<3) 31951a39d68df598db08dfced8b4707755864a0492Ying Wang 32951a39d68df598db08dfced8b4707755864a0492Ying Wang#endif 33