|
@@ -1769,7 +1769,7 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
|
|
|
* See also cpuset_zone_allowed() comment in kernel/cpuset.c.
|
|
* See also cpuset_zone_allowed() comment in kernel/cpuset.c.
|
|
|
*/
|
|
*/
|
|
|
alloc_flags &= ~ALLOC_CPUSET;
|
|
alloc_flags &= ~ALLOC_CPUSET;
|
|
|
- } else if (unlikely(rt_task(p)))
|
|
|
|
|
|
|
+ } else if (unlikely(rt_task(p)) && !in_interrupt())
|
|
|
alloc_flags |= ALLOC_HARDER;
|
|
alloc_flags |= ALLOC_HARDER;
|
|
|
|
|
|
|
|
if (likely(!(gfp_mask & __GFP_NOMEMALLOC))) {
|
|
if (likely(!(gfp_mask & __GFP_NOMEMALLOC))) {
|