Date: Sun, 31 Oct 2010 08:14:52 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/pc98/pc98 machdep.c Message-ID: <201010310815.o9V8FB2s005459@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nyan 2010-10-31 08:14:52 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/pc98/pc98 machdep.c
Log:
SVN rev 214591 on 2010-10-31 08:14:52Z by nyan
MFC: revision 208638
- Add an integer argument to idle to indicate how likely we are to wake
from idle over the next tick.
- Add a new MD routine, cpu_wake_idle() to wakeup idle threads who are
suspended in cpu specific states. This function can fail and cause the
scheduler to fall back to another mechanism (ipi).
- Implement support for mwait in cpu_idle() on i386/amd64 machines that
support it. mwait is a higher performance way to synchronize cpus
as compared to hlt & ipis.
- Allow selecting the idle routine by name via sysctl machdep.idle. This
replaces machdep.cpu_idle_hlt. Only idle routines supported by the
current machine are permitted.
Revision Changes Path
1.412.2.7 +150 -42 src/sys/pc98/pc98/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010310815.o9V8FB2s005459>
