Project

General

Profile

Bug #17 ยป minor-typos.diff

belczyk, 12/20/2005 06:09 PM

View differences:

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