Re: Inner workings of turnstiles and sleepqueues
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 09:16:18 -0400
On Tuesday 16 October 2007 05:41:18 am Ed Schouten wrote:
Hello,
I asked the following question on questions@, but as requested, I'll
forward this question to this list, because of its technical nature.
----- Forwarded message from Ed Schouten <ed@xxxxxx> -----
Date: Mon, 15 Oct 2007 23:13:01 +0200
From: Ed Schouten <ed@xxxxxx>
To: freebsd-questions@xxxxxxxxxxx
Subject: Inner workings of turnstiles and sleepqueues
Hello,
For some reason, I want to understand how the queueing of blocked
threads in the kernel works when waiting for a lock, which is if I
understand correctly done by the turnstiles and sleepqueues. I'm the
proud owner of The Design and Implementation of the FreeBSD Operating
System book, but for some reason, I can't find anything about it in the
book.
Is there a way to obtain information about how they work? I already read
the source somewhat, but that shouldn't be an ideal solution, in my
opinion.
The best option right now is to read the code. There are some comments in
both the headers and implementation.
--
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"
- Follow-Ups:
- Re: Inner workings of turnstiles and sleepqueues
- From: Ed Schouten
- Re: Inner workings of turnstiles and sleepqueues
- References:
- Inner workings of turnstiles and sleepqueues
- From: Ed Schouten
- Inner workings of turnstiles and sleepqueues
- Prev by Date: Re: Pluggable Disk Scheduler Project
- Next by Date: Re: Pluggable Disk Scheduler Project
- Previous by thread: Re: Inner workings of turnstiles and sleepqueues
- Next by thread: Re: Inner workings of turnstiles and sleepqueues
- Index(es):
Relevant Pages
- Inner workings of turnstiles and sleepqueues
... understand correctly done by the turnstiles and sleepqueues. ... System
book, but for some reason, I can't find anything about it in the ... (freebsd-hackers) - Re: Inner workings of turnstiles and sleepqueues
... threads in the kernel works when waiting for a lock, ... understand correctly
done by the turnstiles and sleepqueues. ... System book, but for some reason,
I can't find anything about it in the ... (freebsd-hackers) - Re: Inner workings of turnstiles and sleepqueues
... threads in the kernel works when waiting for a lock, ... understand correctly
done by the turnstiles and sleepqueues. ... (freebsd-hackers) - Inner workings of turnstiles and sleepqueues
... threads in the kernel works when waiting for a lock, ... System book,
but for some reason, I can't find anything about it in the ... (freebsd-questions) - Re: Inner workings of turnstiles and sleepqueues
... threads in the kernel works when waiting for a lock, ... System book,
but for some reason, I can't find anything about it in the ... (freebsd-questions)