Date: Thu, 29 Jul 2004 20:06:16 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 58481 for review Message-ID: <200407292006.i6TK6Gjx053702@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=58481 Change 58481 by jhb@jhb_slimer on 2004/07/29 20:05:53 Hack around a deadlock due to an LOR for now on SMP at the cost of increasing latency of having a process swapped back in when one of its threads is made runnable. Affected files ... .. //depot/projects/smpng/sys/kern/kern_synch.c#76 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_synch.c#76 (text+ko) ==== @@ -402,7 +402,9 @@ if ((p->p_sflag & PS_INMEM) == 0) { if ((p->p_sflag & PS_SWAPPINGIN) == 0) { p->p_sflag |= PS_SWAPINREQ; +#ifndef SMP wakeup(&proc0); +#endif } } else sched_wakeup(td);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407292006.i6TK6Gjx053702>