[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130913155313.GA12758@n2100.arm.linux.org.uk>
Date: Fri, 13 Sep 2013 16:53:13 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: rjw@...k.pl, linaro-kernel@...ts.linaro.org,
linux-pm@...r.kernel.org, patches@...aro.org,
linux-kernel@...r.kernel.org, cpufreq@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 181/228] cpufreq: move freq change notifications to
cpufreq core
On Fri, Sep 13, 2013 at 06:32:07PM +0530, Viresh Kumar wrote:
> + read_lock_irqsave(&cpufreq_driver_lock, flags);
> + notify = !(cpufreq_driver->flags & CPUFREQ_ASYNC_NOTIFICATION);
> + read_unlock_irqrestore(&cpufreq_driver_lock, flags);
I don't think this needs to be read under a lock - if this bit changes
dynamically, then there's something very wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists