minor-typos.diff
| i386/i386/mplock.s 11 Dec 2005 15:41:39 -0000 | ||
|---|---|---|
| 46 | 46 |
* lock operations can occur outside a critical section with interrupts |
| 47 | 47 |
* enabled with the provisio (which the routines below handle) that an |
| 48 | 48 |
* interrupt may come along and preempt us, racing our cmpxchgl instruction |
| 49 |
* to perform the operation we have requested by pre-dispoing td_mpcount. |
|
| 49 |
* to perform the operation we have requested by pre-disposing td_mpcount.
|
|
| 50 | 50 |
* |
| 51 | 51 |
* Additionally, the LWKT threading system manages the MP lock and |
| 52 | 52 |
* lwkt_switch(), in particular, may be called after pre-disposing td_mpcount |
| kern/kern_timeout.c 11 Dec 2005 15:42:01 -0000 | ||
|---|---|---|
| 527 | 527 |
/* |
| 528 | 528 |
* Prepare a callout structure for use by callout_reset() and/or |
| 529 | 529 |
* callout_stop(). The MP version of this routine requires that the callback |
| 530 |
* function installed by callout_reset() by MP safe.
|
|
| 530 |
* function installed by callout_reset() be MP safe.
|
|
| 531 | 531 |
*/ |
| 532 | 532 |
void |
| 533 | 533 |
callout_init(struct callout *c) |
| kern/usched_bsd4.c 11 Dec 2005 15:42:35 -0000 | ||
|---|---|---|
| 190 | 190 | |
| 191 | 191 |
/* |
| 192 | 192 |
* chooseproc() is called when a cpu needs a user process to LWKT schedule, |
| 193 |
* it selects a user process and returns it. If chkp is non-NULL and chkp
|
|
| 194 |
* has a better or equal then the process that would otherwise be |
|
| 193 |
* it selects a user process and returns it. If chklp is non-NULL and chklp
|
|
| 194 |
* has a better or equal priority then the process that would otherwise be
|
|
| 195 | 195 |
* chosen, NULL is returned. |
| 196 | 196 |
* |
| 197 |
* Until we fix the RUNQ code the chkp test has to be strict or we may |
|
| 197 |
* Until we fix the RUNQ code the chklp test has to be strict or we may
|
|
| 198 | 198 |
* bounce between processes trying to acquire the current process designation. |
| 199 | 199 |
*/ |
| 200 | 200 |
static |