Date: Wed, 03 Jan 2001 21:13:26 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Jonathan Chen <jon@FreeBSD.ORG>, imp@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Cardbus woes Message-ID: <200101040413.f044DQs12669@aslan.scsiguy.com> In-Reply-To: Your message of "Wed, 27 Dec 2000 13:43:57 PST." <XFMail.001227134357.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>I was mostly trying to push the locks down so that they weren't held during >attach and remove. I was using them to protect mostly the kthread state flag >in the softc, as well as other variables in the softc. > >> Comments? It seems to me that having a single thread per-softc gives you this protection without requiring any locks. Other than having to aquire Giant at thread starup (as most code below us is not thread safe yet), I don't see any other locking requirements. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101040413.f044DQs12669>