|
|
@@ -23,7 +23,7 @@ Signed-off-by: Tvrtko Ursulin <[email protected]>
|
|
|
|
|
|
--- a/mm/mempolicy.c
|
|
|
+++ b/mm/mempolicy.c
|
|
|
-@@ -2974,7 +2974,9 @@ void __init numa_policy_init(void)
|
|
|
+@@ -2963,7 +2963,9 @@ void __init numa_policy_init(void)
|
|
|
/* Reset policy of current process to default */
|
|
|
void numa_default_policy(void)
|
|
|
{
|
|
|
@@ -34,7 +34,7 @@ Signed-off-by: Tvrtko Ursulin <[email protected]>
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
-@@ -2992,7 +2994,6 @@ static const char * const policy_modes[]
|
|
|
+@@ -2981,7 +2983,6 @@ static const char * const policy_modes[]
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -42,7 +42,7 @@ Signed-off-by: Tvrtko Ursulin <[email protected]>
|
|
|
/**
|
|
|
* mpol_parse_str - parse string to mempolicy, for tmpfs mpol mount option.
|
|
|
* @str: string containing mempolicy to parse
|
|
|
-@@ -3005,13 +3006,18 @@ static const char * const policy_modes[]
|
|
|
+@@ -2994,13 +2995,18 @@ static const char * const policy_modes[]
|
|
|
*/
|
|
|
int mpol_parse_str(char *str, struct mempolicy **mpol)
|
|
|
{
|
|
|
@@ -62,7 +62,7 @@ Signed-off-by: Tvrtko Ursulin <[email protected]>
|
|
|
if (flags)
|
|
|
*flags++ = '\0'; /* terminate mode string */
|
|
|
|
|
|
-@@ -3090,9 +3096,16 @@ int mpol_parse_str(char *str, struct mem
|
|
|
+@@ -3079,9 +3085,16 @@ int mpol_parse_str(char *str, struct mem
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
@@ -82,7 +82,7 @@ Signed-off-by: Tvrtko Ursulin <[email protected]>
|
|
|
|
|
|
/*
|
|
|
* Save nodes for mpol_to_str() to show the tmpfs mount options
|
|
|
-@@ -3125,7 +3138,29 @@ out:
|
|
|
+@@ -3114,7 +3127,29 @@ out:
|
|
|
*mpol = new;
|
|
|
return err;
|
|
|
}
|