Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _LINUX_MEMPOLICY_H
     13 #define _LINUX_MEMPOLICY_H 1
     14 
     15 #include <linux/errno.h>
     16 
     17 #define MPOL_DEFAULT 0
     18 #define MPOL_PREFERRED 1
     19 #define MPOL_BIND 2
     20 #define MPOL_INTERLEAVE 3
     21 
     22 #define MPOL_MAX MPOL_INTERLEAVE
     23 
     24 #define MPOL_F_NODE (1<<0)
     25 #define MPOL_F_ADDR (1<<1)
     26 
     27 #define MPOL_MF_STRICT (1<<0)
     28 #define MPOL_MF_MOVE (1<<1)
     29 #define MPOL_MF_MOVE_ALL (1<<2)
     30 #define MPOL_MF_INTERNAL (1<<3)
     31 
     32 #endif
     33