Skip to content

Commit

Permalink
Add MPOL_F_RELATIVE/STATIC_NODES
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalobg authored and andikleen committed May 5, 2023
1 parent 693fee1 commit c6355e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion numaif.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ extern long move_pages(int pid, unsigned long count,

/* Flags for set_mempolicy, specified in mode */
#define MPOL_F_NUMA_BALANCING (1 << 13) /* Optimize with NUMA balancing if possible */

#define MPOL_F_RELATIVE_NODES (1 << 14)
#define MPOL_F_STATIC_NODES (1 << 15)

/* Flags for get_mem_policy */
#define MPOL_F_NODE (1<<0) /* return next il node or node of address */
/* Warning: MPOL_F_NODE is unsupported and
Expand Down

0 comments on commit c6355e5

Please sign in to comment.