diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-09-27 22:09:35 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-09-27 22:09:35 +0000 |
commit | 69cca8ace4b7e510028fb035ceb026f49c74c6d5 (patch) | |
tree | 8b5feab4b77c2e6ab7f02b7f562ab11843a5714d /sys/amd64 | |
parent | 1584e18eed69bf78259e28df329715e93180eee4 (diff) | |
download | FreeBSD-src-69cca8ace4b7e510028fb035ceb026f49c74c6d5.zip FreeBSD-src-69cca8ace4b7e510028fb035ceb026f49c74c6d5.tar.gz |
Extend comment explaining why code is conditional at !defined(SCHED_ULE).
Suggested by: ru
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/local_apic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c index 7406003..3fb31b5 100644 --- a/sys/amd64/amd64/local_apic.c +++ b/sys/amd64/amd64/local_apic.c @@ -620,6 +620,10 @@ lapic_handle_timer(struct trapframe frame) * * No locking is necessary here, since even if we loose the race * when hlt_cpus_mask changes it is not a big deal, really. + * + * Don't do that for ULE, since ULE doesn't consider hlt_cpus_mask + * and unlike other schedulers it actually schedules threads to + * those CPUs. */ if ((hlt_cpus_mask & (1 << PCPU_GET(cpuid))) != 0) return; |