patch-2.3.39 linux/arch/sparc/mm/asyncd.c
Next file: linux/arch/sparc/mm/io-unit.c
Previous file: linux/arch/sparc/lib/copy_user.S
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Jan 8 21:36:20 2000
- Orig file:
v2.3.38/linux/arch/sparc/mm/asyncd.c
- Orig date:
Tue Jan 4 13:57:16 2000
diff -u --recursive --new-file v2.3.38/linux/arch/sparc/mm/asyncd.c linux/arch/sparc/mm/asyncd.c
@@ -1,4 +1,4 @@
-/* $Id: asyncd.c,v 1.18 1999/12/27 06:30:02 anton Exp $
+/* $Id: asyncd.c,v 1.19 2000/01/08 20:22:16 davem Exp $
* The asyncd kernel daemon. This handles paging on behalf of
* processes that receive page faults due to remote (async) memory
* accesses.
@@ -260,10 +260,11 @@
save_flags(flags); cli();
while (!async_queue) {
- spin_lock_irq(¤t->sigmask_lock);
+ spin_lock(¤t->sigmask_lock);
flush_signals(current);
- spin_unlock_irq(¤t->sigmask_lock);
+ spin_unlock(¤t->sigmask_lock);
interruptible_sleep_on(&asyncd_wait);
+ __sti(); cli();
}
restore_flags(flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)