Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 16:28:45 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        smp@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_timeout.c
Message-ID:  <XFMail.001117162845.jhb@FreeBSD.org>
In-Reply-To: <200011180021.QAA61821@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Nov-00 John Baldwin wrote:
> jhb         2000/11/17 16:21:01 PST
> 
>   Modified files:
>     sys/kern             kern_timeout.c 
>   Log:
>   Release sched_lock very briefly to give interrupts a chance to fire if we
>   are in softclock() for a long time.  The old code already did an
>   splx()/slphigh() pair here, I just missed adding in the equivalent mutex
>   operations on sched_lock earlier.

Before this I could get processes to hang (the box was still up, but one
process was stuck, tying up its pty) though the box was still fine (I could
login and do stuff) if I ran a buildworld -j X where X > 1.  With this I built
a kernel with -j 8 and am currently chugging through a -j 64 world.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001117162845.jhb>