Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 20:19:48 +0530
From:      "sumanth vidyadhara" <sumanth.vidyadhara@wipro.com>
To:        <mjacob@feral.com>
Cc:        <freebsd-smp@FreeBSD.ORG>
Subject:   Re: Locks in ethernet drivers
Message-ID:  <064701c1062a$e7eee230$c9cda8c0@sumanth>
References:  <20010706070154.Q46987-100000@wonky.feral.com>

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.

Regards,
Sumanth

----- Original Message -----
From: "Matthew Jacob" <mjacob@feral.com>
To: "sumanth vidyadhara" <sumanth.vidyadhara@wipro.com>
Cc: <freebsd-smp@FreeBSD.ORG>
Sent: Friday, July 06, 2001 7:33 PM
Subject: Re: Locks in ethernet drivers


>
>
> On Fri, 6 Jul 2001, sumanth vidyadhara wrote:
>
> > Hi All,
> >  What is the call to initialise,acquire and release a lock in the
> > ethernet drivers since all the sample code did not implement any
> > locks. The version of Freebsd is 4.3.
>
> In FreeBSD 4.X there is no SMP locking that drivers need know about and
> splN/splx has its traditional meaning.
>
> -matt
>
>


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?064701c1062a$e7eee230$c9cda8c0>