aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r--kernel/cpuset.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 2eb2e50db0d6..64950fa5d321 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2431,12 +2431,12 @@ int __cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask)
2431 node = zone_to_nid(z); 2431 node = zone_to_nid(z);
2432 if (node_isset(node, current->mems_allowed)) 2432 if (node_isset(node, current->mems_allowed))
2433 return 1; 2433 return 1;
2434 /* 2434 /*
2435 * Allow tasks that have access to memory reserves because they have 2435 * Allow tasks that have access to memory reserves because they have
2436 * been OOM killed to get memory anywhere. 2436 * been OOM killed to get memory anywhere.
2437 */ 2437 */
2438 if (unlikely(test_thread_flag(TIF_MEMDIE))) 2438 if (unlikely(test_thread_flag(TIF_MEMDIE)))
2439 return 1; 2439 return 1;
2440 return 0; 2440 return 0;
2441} 2441}
2442 2442