From 27cfca1ec98e91261b1a5355d10a8996464b63af Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 17 Mar 1998 22:05:47 +0000 Subject: Look Ma' what I found on my harddisk ... o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ... --- arch/sparc/mm/asyncd.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'arch/sparc/mm/asyncd.c') diff --git a/arch/sparc/mm/asyncd.c b/arch/sparc/mm/asyncd.c index 46635db97..d9b17deed 100644 --- a/arch/sparc/mm/asyncd.c +++ b/arch/sparc/mm/asyncd.c @@ -1,4 +1,4 @@ -/* $Id: asyncd.c,v 1.10 1997/05/15 21:14:24 davem Exp $ +/* $Id: asyncd.c,v 1.11 1997/12/14 23:24:34 ecd Exp $ * The asyncd kernel daemon. This handles paging on behalf of * processes that receive page faults due to remote (async) memory * accesses. @@ -239,7 +239,8 @@ int asyncd(void *unused) current->session = 1; current->pgrp = 1; sprintf(current->comm, "asyncd"); - current->blocked = ~0UL; /* block all signals */ + sigfillset(¤t->blocked); /* block all signals */ + recalc_sigpending(current); /* Give asyncd a realtime priority. */ current->policy = SCHED_FIFO; @@ -259,7 +260,9 @@ int asyncd(void *unused) save_flags(flags); cli(); while (!async_queue) { - current->signal = 0; + spin_lock_irq(¤t->sigmask_lock); + flush_signals(current); + spin_unlock_irq(¤t->sigmask_lock); interruptible_sleep_on(&asyncd_wait); } -- cgit v1.2.3