Date: Sat, 28 Feb 1998 00:13:06 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: bde@zeta.org.au (Bruce Evans) Cc: eivind@yes.no, jlemon@americantv.com, fs@FreeBSD.ORG Subject: Re: syncer / SMP question Message-ID: <199802280513.AAA00289@dyson.iquest.net> In-Reply-To: <199802280454.PAA20951@godzilla.zeta.org.au> from Bruce Evans at "Feb 28, 98 03:54:10 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans said: > >> It appears to be released. The vfs_busy() routine makes a call to > >> lockmgr(), which sets a lock on mountpoint and releases the lock on > >> the mountlist. > > > >But... But... What about the fetch of the next-pointer? Looks like > >a potential race-condition to me, but this includes some lock-calls I > >don't really understand what do (interlocks? What are they?). > > Interlocks are for very short-term locks and for locking the aquisition > of full locks. > One rule-of-thumb is never to block (tsleep) when you have an interlock. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802280513.AAA00289>