Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/intr_machdep.c
Show First 20 Lines • Show All 469 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#ifdef SMP | #ifdef SMP | ||||
/* | /* | ||||
* Support for balancing interrupt sources across CPUs. For now we just | * Support for balancing interrupt sources across CPUs. For now we just | ||||
* allocate CPUs round-robin. | * allocate CPUs round-robin. | ||||
*/ | */ | ||||
static cpuset_t intr_cpus = CPUSET_T_INITIALIZER(0x1); | cpuset_t intr_cpus = CPUSET_T_INITIALIZER(0x1); | ||||
static int current_cpu; | static int current_cpu; | ||||
/* | /* | ||||
* Return the CPU that the next interrupt source should use. For now | * Return the CPU that the next interrupt source should use. For now | ||||
* this just returns the next local APIC according to round-robin. | * this just returns the next local APIC according to round-robin. | ||||
*/ | */ | ||||
u_int | u_int | ||||
intr_next_cpu(void) | intr_next_cpu(void) | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |