From owner-cvs-src-old@FreeBSD.ORG Fri May 13 12:40:32 2011 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 CA97E106564A for ; Fri, 13 May 2011 12:40:32 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B8DE88FC0C for ; Fri, 13 May 2011 12:40:32 +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 p4DCeWUu028240 for ; Fri, 13 May 2011 12:40:32 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4DCeWho028234 for cvs-src-old@freebsd.org; Fri, 13 May 2011 12:40:32 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201105131240.p4DCeWho028234@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Fri, 13 May 2011 12:39:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/i386/xen clock.c mp_machdep.c src/sys/kern kern_clocksource.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: Fri, 13 May 2011 12:40:32 -0000 mav 2011-05-13 12:39:37 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/i386/xen clock.c mp_machdep.c sys/kern kern_clocksource.c Log: SVN rev 221835 on 2011-05-13 12:39:37Z by mav Refactor Xen PV code to use new event timers subsystem. That uses one-shot Xen timer and time counter to provide one-shot and periodic time events. On my tests this reduces idle interruts rate down to about 30Hz, and accor- ding to Xen VM Manager reduces host CPU load by three times comparing to the previous periodic 100Hz clock. Also now, when needed, it is possible to increase HZ rate without useless CPU burning during idle periods. Now only ia64 and some ARMs left not migrated to the new event timers. Revision Changes Path 1.732 +7 -7 src/sys/i386/i386/machdep.c 1.17 +101 -96 src/sys/i386/xen/clock.c 1.30 +4 -1 src/sys/i386/xen/mp_machdep.c 1.15 +0 -5 src/sys/kern/kern_clocksource.c