Date: Sat, 30 Aug 1997 02:52:52 -0600 From: Steve Passe <smp@csn.net> To: smp@freebsd.org Subject: HEADS UP: another set of changes. Message-ID: <199708300852.CAA11436@Ilsa.StevesCafe.com>
next in thread | raw e-mail | index | archive | help
Hi, Bruce Evans pointed out that the UP kernel uses disable_intr()/enable_intr() to do the equivalant of "critical regions". Now that several CPUs can be in the SMP kernel simultaniously these functions no longer have the desired effect. This last round of changes adds a simplelock to the disable_intr()/enable_intr() functions. Unfortunately the kernel sometimes calls disable_intr()/enable_intr() recursively, so the possibility of deadlock exists. I have already cleaned up clock.c, creating a simplelock to protect its critical regions, and thus eliminating one large area of deadlock. We're at the point where deadlocks are going to become common. Bear with me and help as you can. When you hit one please record all the facts you can, and report them to smp@freebsd.org. Hopefully we will get thru this period before too long... -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708300852.CAA11436>