Re: networking code and splx()



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 does not seem to get installed:

The locking.9 is not the part of the current build as the comment
of the initial commit of that file says.

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 sources (assuming that you have the system sources in /usr/src/):
$ groff -Tascii -mandoc /usr/src/share/man/man9/locking.9 | less

Our you can download the locking.9 from
http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man9/locking.9
--
Eygene
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: networking code and splx()
    ... Synchronization is now done using other mechanisms such as mutexes and ... spin locks. ... But if we start to refer people to it, surely it is time to install it? ...
    (freebsd-net)
  • Re: How to wait for multiple threads simultaneously?
    ... Spin locks represent an extremely low-level synchronization ... Spin Locks versus Mutexes ... repeating the atomic locking operation until the lock is ...
    (comp.os.linux.development.apps)
  • Re: networking code and splx()
    ... simply not used in this context? ... Synchronization is now done using other mechanisms such as mutexes and ... spin locks. ...
    (freebsd-net)
  • Re: networking code and splx()
    ... splxand friends have been no-ops since FreeBSD 5.x was branched. ... Synchronization is now done using other mechanisms such as mutexes and spin locks. ...
    (freebsd-net)
  • Re: New essay: The Best Synchronization is No Synchronization
    ... synchronization). ... We should be searching for higher-level mechanisms. ... Positive Handoff Protocol and the Central Controller Protocol, both of which are easier to ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)

Loading