Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964953AbWIECRZ (ORCPT ); Mon, 4 Sep 2006 22:17:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965090AbWIECRZ (ORCPT ); Mon, 4 Sep 2006 22:17:25 -0400 Received: from peabody.ximian.com ([130.57.169.10]:449 "EHLO peabody.ximian.com") by vger.kernel.org with ESMTP id S964953AbWIECRY (ORCPT ); Mon, 4 Sep 2006 22:17:24 -0400 Subject: Re: [RFC][PATCH 1/2] ACPI: Idle Processor PM Improvements From: Adam Belay To: Pavel Machek Cc: Len Brown , ACPI ML , Linux Kernel ML , Dominik Brodowski , Arjan van de Ven In-Reply-To: <20060904125921.GB6279@ucw.cz> References: <1156884681.1781.120.camel@localhost.localdomain> <20060904125921.GB6279@ucw.cz> Content-Type: text/plain Date: Mon, 04 Sep 2006 22:19:49 -0400 Message-Id: <1157422789.3777.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 47 Hi Pavel, On Mon, 2006-09-04 at 12:59 +0000, Pavel Machek wrote: > Hi! > > > This patch improves the ACPI c-state selection algorithm. It also > > includes a major cleanup and simplification of the processor idle code. > > Nice! > > > @@ -1009,7 +883,7 @@ > > > > seq_printf(seq, "active state: C%zd\n" > > "max_cstate: C%d\n" > > - "bus master activity: %08x\n", > > + "bus master activity: %d\n", > > pr->power.state ? pr->power.state - pr->power.states : 0, > > max_cstate, (unsigned)pr->power.bm_activity); > > > > This changes kernel - user interface. You should change the field > description, or keep it in hex... Good catch! Essentially the field now counts the number of times bus master activity was detected, rather than bitshifting. I'll change its name in the next iteration. > > BTW will you be on september's labs conference? It's not currently in my plans, but I'd love to attend one at some point. > > Pavel Thanks for the comments. Regards, Adam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/