Skip to content

Commit

Permalink
util: Add new preferred-many type
Browse files Browse the repository at this point in the history
[use 'preferred-many' name as suggested by Andi]
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
  • Loading branch information
Ben Widawsky authored and andikleen committed Dec 9, 2021
1 parent d538c64 commit c9fb863
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ static struct policy {
int policy;
int noarg;
} policies[] = {
{ "preferred-many", MPOL_PREFERRED_MANY, },
{ "local", MPOL_LOCAL, 1 },
{ "interleave", MPOL_INTERLEAVE, },
{ "membind", MPOL_BIND, },
Expand All @@ -94,7 +95,7 @@ static struct policy {
{ NULL },
};

static char *policy_names[] = { "default", "preferred", "bind", "interleave", "local" };
static char *policy_names[] = { "default", "preferred", "bind", "interleave", "local", "preferred-many" };

char *policy_name(int policy)
{
Expand Down

0 comments on commit c9fb863

Please sign in to comment.