Date: Fri, 06 Jul 2001 15:27:33 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: sumanth vidyadhara <sumanth.vidyadhara@wipro.com> Cc: freebsd-smp@FreeBSD.ORG, mjacob@feral.com Subject: Re: Locks in ethernet drivers Message-ID: <XFMail.010706152733.jhb@FreeBSD.org> In-Reply-To: <064701c1062a$e7eee230$c9cda8c0@sumanth>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06-Jul-01 sumanth vidyadhara wrote: > Hi Matthew, > How does splxxx work for more than one cpu , splxxx is for that particular > cpu isn't it. > It raises the priority of cpu of that particular cpu not for all cpu. > Then the critical code how is it handled for the other cpu's if they want to > access it simultaneously. On 4.x the entire kernel is protected by a giant spinlock. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010706152733.jhb>