diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 2eb2e50db0d6a7c1c93915116ee9d8e125ad2981..64950fa5d3211c5f2843e9637b38452a70eef9f7 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) node = zone_to_nid(z); if (node_isset(node, current->mems_allowed)) return 1; - /* - * Allow tasks that have access to memory reserves because they have - * been OOM killed to get memory anywhere. - */ - if (unlikely(test_thread_flag(TIF_MEMDIE))) - return 1; + /* + * Allow tasks that have access to memory reserves because they have + * been OOM killed to get memory anywhere. + */ + if (unlikely(test_thread_flag(TIF_MEMDIE))) + return 1; return 0; }