Date: Mon, 10 Mar 2008 01:32:01 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200803100132.m2A1W1wb007462@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803100132.m2A1W1wb007462>
