Re: networking code and splx()

2007-03-20 Thread Giorgos Keramidas
On 2007-03-20 14:00, John Hay <[EMAIL PROTECTED]> wrote: > On Tue, Mar 20, 2007 at 10:40:51AM +0300, Eygene Ryabinkin wrote: > > > Doing a grep for locking in /usr/src/share/man/man9/Makefile > > > produce nothing. > > > > But if you're running -CURRENT, then you can view the page from the > > sour

Re: networking code and splx()

2007-03-20 Thread Julian Elischer
John Hay wrote: On Tue, Mar 20, 2007 at 10:40:51AM +0300, Eygene Ryabinkin wrote: John, good day. Tue, Mar 20, 2007 at 09:31:50AM +0200, John Hay wrote: splx() and friends have been no-ops since FreeBSD 5.x was branched. Synchronization is now done using other mechanisms such as mutexes and

Re: networking code and splx()

2007-03-20 Thread John Hay
On Tue, Mar 20, 2007 at 10:40:51AM +0300, Eygene Ryabinkin wrote: > John, good day. > > Tue, Mar 20, 2007 at 09:31:50AM +0200, John Hay wrote: > > > > > > > splx() and friends have been no-ops since FreeBSD 5.x was branched. > > > Synchronization is now done using other mechanisms such as mutex

Re: networking code and splx()

2007-03-19 Thread Eygene Ryabinkin
John, good day. Tue, Mar 20, 2007 at 09:31:50AM +0200, John Hay wrote: > > > > > splx() and friends have been no-ops since FreeBSD 5.x was branched. > > Synchronization is now done using other mechanisms such as mutexes and > > spin locks. See the new man page locking(9) in -CURRENT. > > It d

Re: networking code and splx()

2007-03-19 Thread John Hay
On Mon, Mar 19, 2007 at 10:14:33PM +, Bruce M. Simpson wrote: > Ignacio Rey wrote: > >... > >The question is: Have calls to these functions been wrapped? or are they > >simply not used in this context? > > > splx() and friends have been no-ops since FreeBSD 5.x was branched. > Synchronizatio

Re: networking code and splx()

2007-03-19 Thread Bruce M. Simpson
Ignacio Rey wrote: ... The question is: Have calls to these functions been wrapped? or are they simply not used in this context? splx() and friends have been no-ops since FreeBSD 5.x was branched. Synchronization is now done using other mechanisms such as mutexes and spin locks. See the new

Re: networking code and splx()

2007-03-19 Thread Julian Elischer
Ignacio Rey wrote: Hello everyone, I'm studying a bit the FreeBSD networking code. I've read "TCP/IP illustrated vol 2" by G. R. Wright and W. R. Stevens, which describes code in 4.4BSD-lite. Now I'm taking a look at FreeBSD 6.2 release. Some things are different, many others kept the same. Wh

networking code and splx()

2007-03-19 Thread Ignacio Rey
Hello everyone, I'm studying a bit the FreeBSD networking code. I've read "TCP/IP illustrated vol 2" by G. R. Wright and W. R. Stevens, which describes code in 4.4BSD-lite. Now I'm taking a look at FreeBSD 6.2 release. Some things are different, many others kept the same. What I'm confused about