mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Remove extra spaces (no functional change).
MFC after: 3 days
This commit is contained in:
parent
8da45f2c6e
commit
e4ff598ec6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201000
@ -147,7 +147,7 @@ rm_tracker_add(struct pcpu *pc, struct rm_priotracker *tracker)
|
||||
next->rmq_prev = &tracker->rmp_cpuQueue;
|
||||
|
||||
/* 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
|
||||
@ -278,7 +278,7 @@ _rm_rlock_hard(struct rmlock *rm, struct rm_priotracker *tracker)
|
||||
* for this lock on the per-cpu queue.
|
||||
*/
|
||||
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;
|
||||
if ((atracker->rmp_rmlock == rm) &&
|
||||
(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
|
||||
* conditional jump.
|
||||
*/
|
||||
if (0 == (td->td_owepreempt | rm->rm_noreadtoken))
|
||||
if (0 == (td->td_owepreempt | rm->rm_noreadtoken))
|
||||
return;
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
#ifdef SMP
|
||||
smp_rendezvous(smp_no_rendevous_barrier,
|
||||
smp_rendezvous(smp_no_rendevous_barrier,
|
||||
rm_cleanIPI,
|
||||
smp_no_rendevous_barrier,
|
||||
rm);
|
||||
@ -487,7 +487,7 @@ _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@ -526,7 +526,7 @@ _rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user