From: Thomas Gleixner Subject: Re: [patch 01/12] expose ACPI pmtimer to userspace (/dev/pmtimer) Date: Wed, 4 Jun 2008 12:01:19 +0200 (CEST) Message-ID: References: <20080529222249.563011248@localhost.localdomain> <20080529222828.541115340@localhost.localdomain> <4842D4BB.5020907@codemonkey.ws> <48466609.8070007@qumranet.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Anthony Liguori , Marcelo Tosatti , Chris Wright , Glauber Costa , kvm@vger.kernel.org, john stultz To: Avi Kivity Return-path: Received: from www.tglx.de ([62.245.132.106]:44493 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbYFDKCG (ORCPT ); Wed, 4 Jun 2008 06:02:06 -0400 In-Reply-To: <48466609.8070007@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 4 Jun 2008, Avi Kivity wrote: > Anthony Liguori wrote: > > Thomas Gleixner wrote: > > > Can we please keep that code inside of drivers/clocksource/acpi_pm.c > > > without creating a new disconnected file in drivers/char ? > > > > > > Btw, depending on the use case we might as well have a sysfs entry for > > > that. > > > > I think sysfs would actually make a lot of sense for this. > > > > It's read many thousands of times per second. You don't want a > read()/sprintf()/atoi() sequence every time. Eek, according to Andrea it's only used for migration purpose. Thanks, tglx