| From | Sent On | Attachments |
|---|---|---|
| Daniel M. Eischen | Nov 20, 1999 8:12 pm | |
| Julian Elischer | Nov 20, 1999 8:30 pm | |
| Julian Elischer | Nov 20, 1999 8:37 pm | |
| Daniel M. Eischen | Nov 20, 1999 9:02 pm | |
| Nate Williams | Nov 20, 1999 9:14 pm | |
| Daniel M. Eischen | Nov 20, 1999 9:21 pm | |
| Julian Elischer | Nov 20, 1999 9:25 pm | |
| Nate Williams | Nov 20, 1999 9:27 pm | |
| Daniel M. Eischen | Nov 20, 1999 9:40 pm | |
| Julian Elischer | Nov 20, 1999 10:58 pm | |
| Daniel M. Eischen | Nov 21, 1999 5:40 am | |
| Chuck Robey | Nov 22, 1999 4:30 pm | |
| Julian Elischer | Nov 22, 1999 7:57 pm | |
| Chuck Robey | Nov 22, 1999 8:11 pm | |
| Julian Elischer | Nov 22, 1999 8:38 pm | |
| Chuck Robey | Nov 22, 1999 9:40 pm | |
| Daniel Eischen | Nov 23, 1999 4:19 am | |
| Jason Evans | Nov 23, 1999 11:30 am | |
| Daniel M. Eischen | Nov 23, 1999 1:22 pm | |
| Chuck Robey | Nov 23, 1999 9:06 pm | |
| Daniel Eischen | Nov 23, 1999 9:49 pm | |
| Julian Elischer | Nov 23, 1999 10:47 pm | |
| Julian Elischer | Nov 23, 1999 11:33 pm | |
| Julian Elischer | Nov 23, 1999 11:46 pm | |
| Julian Elischer | Nov 24, 1999 2:03 am | |
| Daniel C. Sobral | Nov 24, 1999 3:19 am | |
| Daniel C. Sobral | Nov 24, 1999 3:51 am | |
| Daniel M. Eischen | Nov 24, 1999 6:03 am | |
| Richard Seaman, Jr. | Nov 24, 1999 6:33 am | |
| Matthew Dillon | Nov 24, 1999 10:35 am | |
| Daniel Eischen | Nov 24, 1999 11:02 am | |
| Matthew Dillon | Nov 24, 1999 11:05 am | |
| Anthony Kimball | Nov 24, 1999 11:25 am | |
| Daniel Eischen | Nov 24, 1999 11:28 am | |
| Matthew Dillon | Nov 24, 1999 11:41 am | |
| Matthew Dillon | Nov 24, 1999 11:47 am | |
| Julian Elischer | Nov 24, 1999 11:54 am | |
| Louis A. Mamakos | Nov 24, 1999 11:57 am | |
| Matthew Dillon | Nov 24, 1999 12:00 pm | |
| Julian Elischer | Nov 24, 1999 12:20 pm | |
| Anthony Kimball | Nov 24, 1999 12:47 pm | |
| Doug Rabson | Nov 24, 1999 2:05 pm | |
| Jason Evans | Nov 24, 1999 2:16 pm | |
| Julian Elischer | Nov 24, 1999 2:28 pm | |
| Julian Elischer | Nov 24, 1999 2:40 pm | |
| Richard Seaman, Jr. | Nov 24, 1999 3:39 pm | |
| Jason Evans | Nov 24, 1999 9:24 pm | |
| Jason Evans | Nov 24, 1999 10:03 pm | |
| Julian Elischer | Nov 25, 1999 1:08 am | |
| Julian Elischer | Nov 25, 1999 1:33 am | |
| Daniel M. Eischen | Nov 25, 1999 3:08 am | |
| Doug Rabson | Nov 26, 1999 3:01 am | |
| Jordan K. Hubbard | Nov 26, 1999 10:33 am | |
| Doug Rabson | Nov 26, 1999 12:15 pm | |
| Matthew Dillon | Nov 27, 1999 7:38 pm | |
| Arun Sharma | Nov 27, 1999 8:57 pm | |
| Matthew Dillon | Nov 28, 1999 8:41 am | |
| Arun Sharma | Nov 28, 1999 10:25 am | |
| Matthew Dillon | Nov 28, 1999 5:06 pm | |
| Nate Williams | Nov 29, 1999 8:10 am | |
| Matthew Dillon | Nov 29, 1999 8:21 am | |
| Nate Williams | Nov 29, 1999 8:29 am | |
| Matthew Dillon | Nov 29, 1999 9:05 am | |
| Matthew Dillon | Nov 29, 1999 9:19 am | |
| Daniel M. Eischen | Nov 29, 1999 9:28 am | |
| Nate Williams | Nov 29, 1999 10:29 am | |
| Julian Elischer | Nov 29, 1999 11:23 am | |
| Nate Williams | Nov 29, 1999 1:39 pm | |
| Chuck Robey | Nov 29, 1999 6:06 pm | |
| Daniel M. Eischen | Nov 29, 1999 7:46 pm | |
| Chuck Robey | Nov 29, 1999 9:01 pm | |
| Julian Elischer | Nov 29, 1999 9:34 pm | |
| Chuck Robey | Nov 29, 1999 10:09 pm | |
| Daniel M. Eischen | Nov 30, 1999 4:02 am | |
| Jason Evans | Nov 30, 1999 2:25 pm | |
| Julian Elischer | Nov 30, 1999 2:42 pm |
| Subject: | Re: Threads | |
|---|---|---|
| From: | Nate Williams (na...@mt.sri.com) | |
| Date: | Nov 29, 1999 8:29:02 am | |
| List: | org.freebsd.freebsd-arch | |
:How's about we define what a KSE is, a SA is, and come up with some :other term for a userland 'thread'? : :It seems that Julian is using the same term for a userland thread and a :context that can go into the userland as a KSE, but I'm not sure. : :Assuming for a moment that this is the case, then is a SA a 'kernel
The terminology I have been using, which I thought was the same as Julian's but may not be, is:
Thread
Two entities. A kernel structure 'Thread' and also a similarly named but independant user structure within the UTS.
So far so good. However, we need to differentiate between a 'Userland' thread, and a 'kernel thread' somehow. Also, how does a Userland thread 'become' a Kernel thread? (We need a hybrid of Userland/Kernel threads in order for this to be a viable/effecient solution.)
KSE
A kernel scheduleable entity. I was using this to mean the contextual information (such as a kernel stack) required for the kernel to be able to run a thread. Not required for runnability, only required to actually run the thread and also held over of the thread blocks while in the kernel.
^^ if? Can you expound on this more? Is this transferrable to another 'thread' in the kernel? If so, what is left? If not, what is the 'thing' that we are transferring across?
Process
Our good old process.
I think this is probably the *only* thing we all agree upon the definition of. :)
I think I actually misspoke earlier. Runnability in the kernel scheduler is governed by 'Thread', not 'KSE' with my idea. Only currently running contexts require a KSE. i.e. you might have 10 runnable Threads linked into the kernel's scheduler but if you have a two-cpu system, only 2 of those 10 will actually be running at any given moment and require KSE's.
So far so good.
With my system we change the kernel scheduling entity from a 'Process' to a 'Thread' and a Thread can then optionally (dynamically) be assigned a KSE as required to actually run.
I think the term you are using for 'Thread' would be an SA, but I'm not sure everyone else would agree.
The KSE is a kernel abstraction and essentially *invisible* to user mode. The Thread is a kernel abstraction that is visible to user mode.
I see KSE as being 'kernel context', and that *everytime* a 'thread' (userland) makes a system call, it gets assigned (created, whatever) a KSE. However, in order to do proper thread priorities, who determines which threads get a 'SA' in this context? There could be lots of threads vying for a SA (or kernel 'Thread') in this context, and the only entity with enough context to decide correctly is the UTS.
Nate
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message





