Extend comment explaining why code is conditional at !defined(SCHED_ULE).

Suggested by:	ru
This commit is contained in:
Maxim Sobolev
2006-09-27 22:09:35 +00:00
parent eb2d52f4b8
commit 2c473eaf67
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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;
+4
View File
@@ -622,6 +622,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;