kernel/smp: Move the per-CPU SMP message mailbox into cpu_ent.

Putting all the per-CPU messages in one array means they'll all
be on the same cache lines. The cpu_ent structure is cache-line-aligned,
so this means they'll be on separate cache lines.
This commit is contained in:
Augustin Cavalier
2026-04-27 15:14:14 -04:00
parent f0b91b00ac
commit 747a839b95
2 changed files with 14 additions and 14 deletions
+1
View File
@@ -64,6 +64,7 @@ typedef struct CACHE_LINE_ALIGN cpu_ent {
bigtime_t last_kernel_time;
bigtime_t last_user_time;
struct smp_msg* cpu_msg;
int32 ici_counter;
// used in the kernel debugger