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 53c4e58bf..a50684973 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -426,7 +426,7 @@ int kswapd(void *unused) current->session = 1; current->pgrp = 1; sprintf(current->comm, "kswapd"); - current->blocked = ~0UL; + sigfillset(¤t->blocked); /* * As a kernel thread we want to tamper with system buffers @@ -447,7 +447,7 @@ int kswapd(void *unused) int fail; kswapd_awake = 0; - current->signal = 0; + flush_signals(current); run_task_queue(&tq_disk); interruptible_sleep_on(&kswapd_wait); kswapd_awake = 1; |