patch-2.1.68 linux/mm/vmscan.c
Next file: linux/net/Config.in
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 30 10:59:03 1997
- Orig file:
v2.1.67/linux/mm/vmscan.c
- Orig date:
Sat Oct 25 02:44:18 1997
diff -u --recursive --new-file v2.1.67/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -426,7 +426,7 @@
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 fail;
kswapd_awake = 0;
- current->signal = 0;
+ flush_signals(current);
run_task_queue(&tq_disk);
interruptible_sleep_on(&kswapd_wait);
kswapd_awake = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov