Changeset dc5c303 in mainline for kernel/generic/src/mm/tlb.c
- Timestamp:
- 2023-12-28T13:59:23Z (2 years ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
-
kernel/generic/src/mm/tlb.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/tlb.c
r42c2e65 rdc5c303 95 95 cpu_t *cpu = &cpus[i]; 96 96 97 irq_spinlock_lock(&cpu-> lock, false);97 irq_spinlock_lock(&cpu->tlb_lock, false); 98 98 if (cpu->tlb_messages_count == TLB_MESSAGE_QUEUE_LEN) { 99 99 /* … … 116 116 cpu->tlb_messages[idx].count = count; 117 117 } 118 irq_spinlock_unlock(&cpu-> lock, false);118 irq_spinlock_unlock(&cpu->tlb_lock, false); 119 119 } 120 120 … … 158 158 irq_spinlock_unlock(&tlblock, false); 159 159 160 irq_spinlock_lock(&CPU-> lock, false);160 irq_spinlock_lock(&CPU->tlb_lock, false); 161 161 assert(CPU->tlb_messages_count <= TLB_MESSAGE_QUEUE_LEN); 162 162 … … 189 189 190 190 CPU->tlb_messages_count = 0; 191 irq_spinlock_unlock(&CPU-> lock, false);191 irq_spinlock_unlock(&CPU->tlb_lock, false); 192 192 CPU->tlb_active = true; 193 193 }
Note:
See TracChangeset
for help on using the changeset viewer.
