aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 2225b7c9df85..d419e10e3daa 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1421,6 +1421,7 @@ static int kswapd(void *p)
1421 * trying to free the first piece of memory in the first place). 1421 * trying to free the first piece of memory in the first place).
1422 */ 1422 */
1423 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD; 1423 tsk->flags |= PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD;
1424 set_freezable();
1424 1425
1425 order = 0; 1426 order = 0;
1426 for ( ; ; ) { 1427 for ( ; ; ) {