From owner-cvs-src-old@FreeBSD.ORG Sun Oct 31 08:15:11 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 661041065695 for ; Sun, 31 Oct 2010 08:15:11 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 542728FC1A for ; Sun, 31 Oct 2010 08:15:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9V8FBs9005460 for ; Sun, 31 Oct 2010 08:15:11 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9V8FB2s005459 for cvs-src-old@freebsd.org; Sun, 31 Oct 2010 08:15:11 GMT (envelope-from nyan@repoman.freebsd.org) Message-Id: <201010310815.o9V8FB2s005459@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nyan@repoman.freebsd.org using -f From: Takahashi Yoshihiro Date: Sun, 31 Oct 2010 08:14:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/pc98/pc98 machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 08:15:11 -0000 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