From owner-freebsd-current Mon Apr 24 18:45:41 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id D944E37B7A0; Mon, 24 Apr 2000 18:45:39 -0700 (PDT) From: "Jonathan M. Bresler" To: dillon@apollo.backplane.com Cc: smp@csn.net, current@FreeBSD.ORG In-reply-to: <200004241719.KAA70893@apollo.backplane.com> (message from Matthew Dillon on Mon, 24 Apr 2000 10:19:33 -0700 (PDT)) Subject: Re: SMP changes and breaking kld object module compatibility Message-Id: <20000425014539.D944E37B7A0@hub.freebsd.org> Date: Mon, 24 Apr 2000 18:45:39 -0700 (PDT) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The network stack is equally easy to make MP-safe. In this case we > have a shared lock to lookup sockets for host/port combinations and > then fine-grained exclusive locks within those sockets. Route table > and other high level operations could in fact remain BGL'd without > interfering with the network stack because the network stack *already* > caches route table lookups. > might it be fair to summarize this as: you locks on data rather than locks on code. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message