Adjust a few comments.
This commit is contained in:
parent
94df4b8584
commit
462f31bff0
@ -479,7 +479,7 @@ exit1(struct thread *td, int rv)
|
|||||||
mtx_unlock(&Giant);
|
mtx_unlock(&Giant);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We have to wait until after releasing all locks before
|
* We have to wait until after acquiring all locks before
|
||||||
* changing p_state. If we block on a mutex then we will be
|
* changing p_state. If we block on a mutex then we will be
|
||||||
* back at SRUN when we resume and our parent will never
|
* back at SRUN when we resume and our parent will never
|
||||||
* harvest us.
|
* harvest us.
|
||||||
|
@ -179,7 +179,7 @@ struct trapframe;
|
|||||||
* execution is now, or was when it was suspended, why it was suspended,
|
* execution is now, or was when it was suspended, why it was suspended,
|
||||||
* and anything else that will be needed to restart it when it is
|
* and anything else that will be needed to restart it when it is
|
||||||
* rescheduled. Always associated with a KSE when running, but can be
|
* rescheduled. Always associated with a KSE when running, but can be
|
||||||
* reassigned to an equivalent KSE when being restarted for
|
* reassigned to an equivalent KSE when being restarted for
|
||||||
* load balancing. Each of these is associated with a kernel stack
|
* load balancing. Each of these is associated with a kernel stack
|
||||||
* and a pcb.
|
* and a pcb.
|
||||||
*
|
*
|
||||||
@ -195,7 +195,7 @@ struct trapframe;
|
|||||||
* keeps a cached thread available to allow it to quickly
|
* keeps a cached thread available to allow it to quickly
|
||||||
* get one when it needs a new one. There is also a system
|
* get one when it needs a new one. There is also a system
|
||||||
* cache of free threads. Threads have priority and partake in priority
|
* cache of free threads. Threads have priority and partake in priority
|
||||||
* inherritance schemes.
|
* inheritance schemes.
|
||||||
*/
|
*/
|
||||||
struct thread;
|
struct thread;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user