mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + hrtimers-fix-reprogramming-smp-race.patch added to -mm tree
       [not found] <200703261946.l2QJkevj028804@shell0.pdx.osdl.net>
@ 2007-03-27  7:32 ` Thomas Gleixner
  0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2007-03-27  7:32 UTC (permalink / raw)
  To: Andrew Morton; +Cc: mingo, michal.k.k.piotrowski, LKML

On Mon, 2007-03-26 at 12:46 -0700, akpm@linux-foundation.org wrote:
> The patch titled
>      hrtimers: fix reprogramming SMP race
> has been added to the -mm tree.  Its filename is
>      hrtimers-fix-reprogramming-smp-race.patch
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> out what to do about this
> 
> ------------------------------------------------------
> Subject: hrtimers: fix reprogramming SMP race
> From: Ingo Molnar <mingo@elte.hu>
> 
> hrtimer_start() incorrectly set the 'reprogram' flag to enqueue_hrtimer(),
> which should only be 1 if the hrtimer is queued to the current CPU.
> 
> Doing otherwise could result in a reprogramming of the current CPU's
> clockevents device, with a timer that is not queued to it - resulting in a
> bogus next expiry value.

Doh.

> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Acked-by: Thomas Gleixner <tglx@linutronix.de>

Andrew, this should go into 2.6.21 as well.

	tglx




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-27  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200703261946.l2QJkevj028804@shell0.pdx.osdl.net>
2007-03-27  7:32 ` + hrtimers-fix-reprogramming-smp-race.patch added to -mm tree Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®