From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756531AbbLHNej (ORCPT ); Tue, 8 Dec 2015 08:34:39 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:57968 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756350AbbLHNei (ORCPT ); Tue, 8 Dec 2015 08:34:38 -0500 From: "Rafael J. Wysocki" To: Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, ashwin.chaugule@linaro.org, "Rafael J. Wysocki" , open list Subject: Re: [PATCH V2 5/6] cpufreq: governor: replace per-cpu delayed work with timers Date: Tue, 08 Dec 2015 15:04:37 +0100 Message-ID: <3708603.AceXez1tmv@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151208133036.GB3692@ubuntu> References: <7208072.lZriMRM1aD@vostro.rjw.lan> <20151208133036.GB3692@ubuntu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, December 08, 2015 07:00:36 PM Viresh Kumar wrote: > On 08-12-15, 14:18, Rafael J. Wysocki wrote: > > Well, if the timer function runs on all CPUs at the same time, they all > > can see skip_work > 1 and none of them will queue the work. > > You are talking about code after my patch, right? No, I was talking about my first attempt at using the atomic variable. :-) Thanks, Rafael