[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1354028720.4266.55.camel@deadeye.wl.decadent.org.uk>
Date: Tue, 27 Nov 2012 15:05:20 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
kernel-team@...ts.ubuntu.com, Colin Cross <ccross@...roid.com>,
R Sricharan <r.sricharan@...com>,
Tony Lindgren <tony@...mide.com>,
Herton Ronaldo Krzesinski <herton.krzesinski@...onical.com>
Subject: Re: [PATCH 055/270] ARM: OMAP: counter: add locking to
read_persistent_clock
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote:
> 3.5.7u1 -stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Colin Cross <ccross@...roid.com>
>
> commit 9d7d6e363b06934221b81a859d509844c97380df upstream.
>
> read_persistent_clock uses a global variable, use a spinlock to
> ensure non-atomic updates to the variable don't overlap and cause
> time to move backwards.
>
> Signed-off-by: Colin Cross <ccross@...roid.com>
> Signed-off-by: R Sricharan <r.sricharan@...com>
> Signed-off-by: Tony Lindgren <tony@...mide.com>
> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@...onical.com>
[...]
This is also missing from 3.4. I'm attaching the adjusted version for
3.2, which looks like it will work for 3.4.
Ben.
--
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.
View attachment "arm-omap-counter-add-locking-to-read_persistent_clock.patch" of type "text/x-patch" (1943 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists