Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758030Ab1BKTdo (ORCPT ); Fri, 11 Feb 2011 14:33:44 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38418 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757513Ab1BKTdm (ORCPT ); Fri, 11 Feb 2011 14:33:42 -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 , Len Brown , Linux PM mailing list In-Reply-To: <1297452478.2645.265.camel@schen9-DESK> References: <1297300864.2645.128.camel@schen9-DESK> <201102110017.16066.rjw@sisk.pl> <1297385416.2645.262.camel@schen9-DESK> <201102112022.25637.rjw@sisk.pl> <1297452478.2645.265.camel@schen9-DESK> Content-Type: text/plain; charset="UTF-8" Date: Fri, 11 Feb 2011 13:33:34 -0600 Message-ID: <1297452814.4967.110.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: 886 Lines: 26 On Fri, 2011-02-11 at 11:27 -0800, Tim Chen wrote: > On Fri, 2011-02-11 at 20:22 +0100, Rafael J. Wysocki wrote: > > > > > Thanks, but I'd put that comment before the structure definition with the > > "NOTE:" prefix and I think you should explain the reason why that field > > shouldn't be changed to 64-bits. > > > > Either you or James want to suggest a comment on why the field shouldn't > be changed to 64-bits to be placed there? /* * Note: The lockless read read path depends on the CPU accessing * target_value atomically. Atomic access is only guaranteed on all CPU * types linux supports for 32 bit quantites */ 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/