Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756916Ab1BJUhv (ORCPT ); Thu, 10 Feb 2011 15:37:51 -0500 Received: from cantor.suse.de ([195.135.220.2]:54281 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756865Ab1BJUhu (ORCPT ); Thu, 10 Feb 2011 15:37:50 -0500 Subject: Re: [Patch] idle governor: Avoid lock acquisition to read pm_qos before entering idle From: James Bottomley To: Tim Chen Cc: "Rafael J. Wysocki" , mark gross , David Alan Gilbert , linux-kernel@vger.kernel.org, Len , Andi Kleen , Arjan van de Ven In-Reply-To: <1297366384.2645.175.camel@schen9-DESK> References: <1297300864.2645.128.camel@schen9-DESK> <1297359914.4933.56.camel@mulgrave.site> <1297366384.2645.175.camel@schen9-DESK> Content-Type: text/plain; charset="UTF-8" Date: Thu, 10 Feb 2011 14:37:43 -0600 Message-ID: <1297370263.4933.74.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 25 On Thu, 2011-02-10 at 11:33 -0800, Tim Chen wrote: > On Thu, 2011-02-10 at 11:45 -0600, James Bottomley wrote: > > > > > What you say is true as long as the value is 32 bits ... perhaps a note > > of that should be made somewhere? > > > > It seems like pm_qos_add_request, pm_qos_update_request only uses 32 > bits value. Did I miss some cases where the target value for > pm_qos_object be non-32 bit under some situation? No ... I'm thinking of the future. On the face of it, if we needed larger quantities (like s64), the obvious approach would be to change s32 to s64 which would fail ... horribly. I was just suggesting a nice reminder comment for this. James -- 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/