kernel: Reduce lock contention when processing ICIs
This commit is contained in:
@@ -497,7 +497,7 @@ arch_cpu_idle(void)
|
||||
static inline void
|
||||
arch_cpu_pause(void)
|
||||
{
|
||||
asm volatile("pause");
|
||||
asm volatile("pause" : : : "memory");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -60,6 +60,8 @@ typedef struct cpu_ent {
|
||||
bigtime_t last_kernel_time;
|
||||
bigtime_t last_user_time;
|
||||
|
||||
int32 ici_counter;
|
||||
|
||||
// used in the kernel debugger
|
||||
addr_t fault_handler;
|
||||
addr_t fault_handler_stack_pointer;
|
||||
|
||||
Reference in New Issue
Block a user