Re: Inner workings of turnstiles and sleepqueues



On Friday 19 October 2007 01:08:27 pm Attilio Rao wrote:
2007/10/19, John Baldwin <jhb@xxxxxxxxxxx>:
On Friday 19 October 2007 12:56:54 am Ed Schouten wrote:
* John Baldwin <jhb@xxxxxxxxxxx> wrote:
The best option right now is to read the code. There are some
comments in
both the headers and implementation.

Would it be useful to write manpages for these interfaces, or do we
assume that only godlike people can use them anyway? I am willing to
write manpages for them.

They already exist, but they really are only used to implement
higher-level
primitives like locks and condition variables. The rest of the kernel
should
use the higher-level primitives anyway.

Well, really turnstiles don't have manpages, but this is still OK as
they are only used in mutex while the "real" sleeping primitive should
be identified by sleepqueues.

Ah, there is a sleepqueue(9), but not a turnstile(9).

--
John Baldwin
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Inner workings of turnstiles and sleepqueues
    ... both the headers and implementation. ... Would it be useful to write manpages for these interfaces, ... assume that only godlike people can use them anyway? ...
    (freebsd-hackers)
  • Re: Inner workings of turnstiles and sleepqueues
    ... both the headers and implementation. ... Would it be useful to write manpages for these interfaces, ... use the higher-level primitives anyway. ...
    (freebsd-hackers)
  • Re: Inner workings of turnstiles and sleepqueues
    ... both the headers and implementation. ... assume that only godlike people can use them anyway? ... write manpages for them. ... I'm still trying to nag john to run an editing pass over locking ...
    (freebsd-hackers)
  • Re: Inner workings of turnstiles and sleepqueues
    ... Would it be useful to write manpages for these interfaces, ... assume that only godlike people can use them anyway? ... primitives like locks and condition variables. ... use the higher-level primitives anyway. ...
    (freebsd-hackers)