diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 4b8e62a19370..1fa312a8db77 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1216,8 +1216,8 @@ static int kswapd(void *p) | |||
1216 | order = 0; | 1216 | order = 0; |
1217 | for ( ; ; ) { | 1217 | for ( ; ; ) { |
1218 | unsigned long new_order; | 1218 | unsigned long new_order; |
1219 | if (current->flags & PF_FREEZE) | 1219 | |
1220 | refrigerator(PF_FREEZE); | 1220 | try_to_freeze(); |
1221 | 1221 | ||
1222 | prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); | 1222 | prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); |
1223 | new_order = pgdat->kswapd_max_order; | 1223 | new_order = pgdat->kswapd_max_order; |