summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ifs/mount.c
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-24 20:33:32 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-24 20:33:32 +0000
commit30f7c300787da5cd36c457b534171c77ea9ea74d (patch)
treea828988fb0b3e20b7593c923dec662cbb651b044 /sbin/mount_ifs/mount.c
parentd40888900736de743238ffe1d525e535bc260a99 (diff)
downloadFreeBSD-src-30f7c300787da5cd36c457b534171c77ea9ea74d.zip
FreeBSD-src-30f7c300787da5cd36c457b534171c77ea9ea74d.tar.gz
A clean fix for the spl "deadlock before smp_active" problem.
Added a new variable, 'bsp_apic_ready', which is set as soon as the bootstrap CPU has initialized its local APIC. Conditionalize the GENSPLR functions to call ss_lock ONLY after bsp_apic_ready is TRUE; This should prevent any problems with races between the time the 1st AP becomes ready and the time smp_active is set.
Diffstat (limited to 'sbin/mount_ifs/mount.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud