Date: Fri, 06 Jul 2001 14:53:54 -0700 From: Mike Smith <msmith@freebsd.org> To: "sumanth vidyadhara" <sumanth.vidyadhara@wipro.com> Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Locks in ethernet drivers Message-ID: <200107062153.f66Lrsa01793@mass.dis.org> In-Reply-To: Your message of "Fri, 06 Jul 2001 20:19:48 %2B0530." <064701c1062a$e7eee230$c9cda8c0@sumanth>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. If you know how spl() works, why are you asking this question? And since you've already been told the answer, why are you arguing? spl() is implemented correctly for multiple processors. Use it. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E 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?200107062153.f66Lrsa01793>