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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user