Remove extra spaces (no functional change).
MFC after: 3 days
This commit is contained in:
parent
8da45f2c6e
commit
e4ff598ec6
@ -147,7 +147,7 @@ rm_tracker_add(struct pcpu *pc, struct rm_priotracker *tracker)
|
|||||||
next->rmq_prev = &tracker->rmp_cpuQueue;
|
next->rmq_prev = &tracker->rmp_cpuQueue;
|
||||||
|
|
||||||
/* Update pointer to first element. */
|
/* Update pointer to first element. */
|
||||||
pc->pc_rm_queue.rmq_next = &tracker->rmp_cpuQueue;
|
pc->pc_rm_queue.rmq_next = &tracker->rmp_cpuQueue;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void inline
|
static void inline
|
||||||
@ -278,7 +278,7 @@ _rm_rlock_hard(struct rmlock *rm, struct rm_priotracker *tracker)
|
|||||||
* for this lock on the per-cpu queue.
|
* for this lock on the per-cpu queue.
|
||||||
*/
|
*/
|
||||||
for (queue = pc->pc_rm_queue.rmq_next;
|
for (queue = pc->pc_rm_queue.rmq_next;
|
||||||
queue != &pc->pc_rm_queue; queue = queue->rmq_next) {
|
queue != &pc->pc_rm_queue; queue = queue->rmq_next) {
|
||||||
atracker = (struct rm_priotracker *)queue;
|
atracker = (struct rm_priotracker *)queue;
|
||||||
if ((atracker->rmp_rmlock == rm) &&
|
if ((atracker->rmp_rmlock == rm) &&
|
||||||
(atracker->rmp_thread == tracker->rmp_thread)) {
|
(atracker->rmp_thread == tracker->rmp_thread)) {
|
||||||
@ -337,7 +337,7 @@ _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker)
|
|||||||
* Fast path to combine two common conditions into a single
|
* Fast path to combine two common conditions into a single
|
||||||
* conditional jump.
|
* conditional jump.
|
||||||
*/
|
*/
|
||||||
if (0 == (td->td_owepreempt | rm->rm_noreadtoken))
|
if (0 == (td->td_owepreempt | rm->rm_noreadtoken))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* We do not have a read token and need to acquire one. */
|
/* We do not have a read token and need to acquire one. */
|
||||||
@ -413,7 +413,7 @@ _rm_wlock(struct rmlock *rm)
|
|||||||
* before rm_cleanIPI is called.
|
* before rm_cleanIPI is called.
|
||||||
*/
|
*/
|
||||||
#ifdef SMP
|
#ifdef SMP
|
||||||
smp_rendezvous(smp_no_rendevous_barrier,
|
smp_rendezvous(smp_no_rendevous_barrier,
|
||||||
rm_cleanIPI,
|
rm_cleanIPI,
|
||||||
smp_no_rendevous_barrier,
|
smp_no_rendevous_barrier,
|
||||||
rm);
|
rm);
|
||||||
@ -487,7 +487,7 @@ _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
_rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
||||||
const char *file, int line)
|
const char *file, int line)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -526,7 +526,7 @@ _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
_rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
||||||
const char *file, int line)
|
const char *file, int line)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user