Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 15:35:43 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        dillon@apollo.backplane.com, freebsd-smp@FreeBSD.ORG
Cc:        grog@lemis.com
Subject:   Re:  SMP discussion moving to freebsd-smp
Message-ID:  <200006201935.e5KJZhE04172@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
>     Right now the SP build works because I am allowing (unthreaded) interrupts
>     to steal the idleproc's context, and that only works because they can
>     get the giant mutex without blocking (remember, the BSDI giant mutex
>     is a blocking mutex, not a spin mutex).  In the MP build the interrupts
>     need to be able to block getting the giant mutex which means we need
>     to implement heavy-weight interrupt threads at the very least before
>     we can get anything working, because we are not allowed to block in
>     the idleproc.
> 
May I suggest we first make the giant mutex a spin mutex (as our good old
giant kernel lock) and focus on the SP first? In the mean time, MP should
continue to work, as only one processor is allowed in the kernel. Once the
SP is stablized, we start to tackle the MP build.

-lq


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?200006201935.e5KJZhE04172>