From owner-freebsd-gnome@FreeBSD.ORG Sat Nov 15 17:52:28 2008 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 250021065678; Sat, 15 Nov 2008 17:52:28 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F1E7E8FC19; Sat, 15 Nov 2008 17:52:27 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from freefall.freebsd.org (marcus@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAFHqRq3050162; Sat, 15 Nov 2008 17:52:27 GMT (envelope-from marcus@freefall.freebsd.org) Received: (from marcus@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAFHqRJN050158; Sat, 15 Nov 2008 17:52:27 GMT (envelope-from marcus) Date: Sat, 15 Nov 2008 17:52:27 GMT Message-Id: <200811151752.mAFHqRJN050158@freefall.freebsd.org> To: jh@sandstorm.net, marcus@FreeBSD.org, gnome@FreeBSD.org From: marcus@FreeBSD.org Cc: Subject: Re: ports/128826: sysutils/hal: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2008 17:52:28 -0000 Synopsis: sysutils/hal: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU State-Changed-From-To: open->analyzed State-Changed-By: marcus State-Changed-When: Sat Nov 15 17:50:57 UTC 2008 State-Changed-Why: This is true, and currently, there isn't a better way to do what needs to be done. Reimplementing the KVM code from fstat is too complicated for the simple task required. I am working on an enhancement to procstat which will allow this fork/exec problem to go away. Until then, the only workaround is to have hald ignore your mouse device. http://www.freebsd.org/cgi/query-pr.cgi?pr=128826