cvs commit: src/sys/kern sched_ule.c
Jeff Roberson
jeff at FreeBSD.org
Mon Mar 10 01:32:03 UTC 2008
jeff 2008-03-10 01:32:01 UTC
FreeBSD src repository
Modified files:
sys/kern sched_ule.c
Log:
- Add an implementation of sched_preempt() that avoids excessive IPIs.
- Normalize the preemption/ipi setting code by introducing sched_shouldpreempt()
so the logical is identical and not repeated between tdq_notify() and
sched_setpreempt().
- In tdq_notify() don't set NEEDRESCHED as we may not actually own the thread lock
this could have caused us to lose td_flags settings.
- Garbage collect some tunables that are no longer relevant.
Revision Changes Path
1.227 +72 -62 src/sys/kern/sched_ule.c
More information about the cvs-src
mailing list