login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
November
»
11
Re: [Bug #11989] Suspend failure on NForce4-based boards due to chanes in stop_machine
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: [Bug #11989] Suspend failure on NForce4-based boards due to chanes in stop_machine
Date: Tuesday, November 11, 2008 - 6:49 am
On Tue, 2008-11-11 at 14:36 +0100, Vegard Nossum wrote:
quoted text
> On Tue, Nov 11, 2008 at 11:52 AM, Ingo Molnar <mingo@elte.hu> wrote: > > [ Cc:-ed workqueue/locking/suspend-race-condition experts. ] > > Heh. I am not expert, but I looked at the code. The obvious suspicious > thing to see is the use of unpaired barriers? Maybe like this: > > 47 static void set_state(enum stopmachine_state newstate) > 48 { > 49 /* Reset ack counter. */ > 50 atomic_set(&thread_ack, num_threads); > 51 smp_wmb(); > > + /* force ordering between thread_ack/state */ > > 52 state = newstate; > 53 } > 54 > 55 /* Last one to ack a state moves to the next state. */ > 56 static void ack_state(void) > 57 { > 58 if (atomic_dec_and_test(&thread_ack)) > > Maybe > + /* force ordering between thread_ack/state */ > + smp_rmb(); > here?
all atomic ops that have return values imply a full barrier, iirc
quoted text
> 59 set_state(state + 1); > 60 } > 61 > > Or maybe I am wrong. But Documentation/memory-barriers.txt is rather > explicit on this point. > > > Vegard >
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.28-rc3-git6: Reported regressions from 2.6.27
, Rafael J. Wysocki
, (Sun Nov 9, 10:53 am)
[Bug #11799] xorg can not start up with stolen memory
, Rafael J. Wysocki
, (Sun Nov 9, 10:53 am)
[Bug #11806] iwl3945 fails with microcode error
, Rafael J. Wysocki
, (Sun Nov 9, 10:54 am)
[Bug #11849] default IRQ affinity change in v2.6.27 (break ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11841] plenty of line "ACPI: EC: non-query interrupt ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11834] iwl3945: if I leave my machine running overni ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11826] extreme slowness of IO stuff using 2.6.28-rc1
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11822] ACPI Warning (nspredef-0858): _SB_.PCI0.LPC_. ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11875] radeonfb lockup in .28-rc (bisected)
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11873] unable to mount ext3 root filesystem due to h ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11891] resume from disk broken on hp/compaq nx7000 ( ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11858] Timeout regression introduced by 242f9dcb8ba6 ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11898] mke2fs hang on AIC79 device.
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11899] sometime boot failed on T61 laptop
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11896] [2.6.28-rc2] EeePC ACPI errors &amp; exceptions
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11895] 2.6.28-rc2 regression: keyboard dead after re ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11906] 2.6.28-rc2 seems to fail at powering down the ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11905] lots of extra timer interrupts costing 2W
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11903] regression: vmalloc easily fail
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11908] linux-2.6.28-rc2 regression : oprofile doesnt ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11917] Asus Eee PC hotkeys stop working after prolon ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11913] USB/INPUT: slab error in cache_alloc_debugche ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11911] new PCMCIA device instance after resume - ori ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11925] cdrom: missing compat ioctls
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11928] ath5k gets lost with eeepc-laptop removal
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11937] ext3 __log_wait_for_space: no transactions
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11942] AMD64 reboot regression
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11965] regression introduced by - timers: fix itimer ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11958] [2.6.27.x =&gt; 2.6.28-rc3] Xorg crash with x ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11947] 2.6.28-rc VC switching with Intel graphics broken
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11985] 2.6.28-rc3 truncates nfsd results
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11984] regression when switching TTY-&gt;X, input re ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11970] gettimeofday return a old time in mmbench
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11982] Fan level 7 after resume wit 2.6.28-rc3
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11994] Computer doesn't power down after commit CPI: ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11989] Suspend failure on NForce4-based boards due t ...
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11988] Eliminate recursive mutex in compat fb ioctl path
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11986] 2.6.28-rc2-git1: spitz still won't boot
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11987] Bootup time regression from 2.6.27 to 2.6.28-rc3+
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
[Bug #11996] Tracing framework regression in 2.6.28-rc3
, Rafael J. Wysocki
, (Sun Nov 9, 10:59 am)
Re: [Bug #11985] 2.6.28-rc3 truncates nfsd results
, J. Bruce Fields
, (Sun Nov 9, 2:05 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Sun Nov 9, 2:15 pm)
Re: [Bug #11925] cdrom: missing compat ioctls
, Andreas Schwab
, (Sun Nov 9, 4:00 pm)
Re: [Bug #11925] cdrom: missing compat ioctls
, Rafael J. Wysocki
, (Sun Nov 9, 4:29 pm)
Re: [Bug #11925] cdrom: missing compat ioctls
, Andreas Schwab
, (Sun Nov 9, 4:39 pm)
Re: [Bug #11911] new PCMCIA device instance after resume - ...
, Andrey Borzenkov
, (Sun Nov 9, 8:55 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Sun Nov 9, 10:46 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Paul Collins
, (Mon Nov 10, 12:13 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Mon Nov 10, 2:05 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, David Miller
, (Mon Nov 10, 2:06 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Mon Nov 10, 5:04 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rafael J. Wysocki
, (Mon Nov 10, 7:47 am)
Re: [Bug #11895] 2.6.28-rc2 regression: keyboard dead afte ...
, Andrey Borzenkov
, (Mon Nov 10, 9:53 am)
Re: [Bug #11895] 2.6.28-rc2 regression: keyboard dead afte ...
, Rafael J. Wysocki
, (Mon Nov 10, 11:06 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Andreas Schwab
, (Mon Nov 10, 1:39 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Mon Nov 10, 2:52 pm)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rafael J. Wysocki
, (Mon Nov 10, 3:55 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Andreas Schwab
, (Mon Nov 10, 4:20 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Mon Nov 10, 4:34 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Andreas Schwab
, (Mon Nov 10, 4:54 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Mon Nov 10, 6:49 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Linus Torvalds
, (Mon Nov 10, 7:47 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Mon Nov 10, 8:21 pm)
Re: [Bug #11947] 2.6.28-rc VC switching with Intel graphic ...
, Romano Giannetti
, (Tue Nov 11, 2:28 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Andreas Schwab
, (Tue Nov 11, 2:31 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Ingo Molnar
, (Tue Nov 11, 3:52 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Tue Nov 11, 4:30 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Tue Nov 11, 4:31 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Tue Nov 11, 5:42 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Ingo Molnar
, (Tue Nov 11, 6:13 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Vegard Nossum
, (Tue Nov 11, 6:36 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Vegard Nossum
, (Tue Nov 11, 6:46 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Peter Zijlstra
, (Tue Nov 11, 6:49 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Tue Nov 11, 7:35 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Vegard Nossum
, (Tue Nov 11, 7:47 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Tue Nov 11, 8:01 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Tue Nov 11, 8:02 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Dmitry Adamushko
, (Tue Nov 11, 8:11 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Tue Nov 11, 9:14 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Tue Nov 11, 9:17 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Oleg Nesterov
, (Tue Nov 11, 9:31 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Tue Nov 11, 9:45 am)
Q: force_quiescent_state && cpu_online_map
, Oleg Nesterov
, (Tue Nov 11, 10:03 am)
Re: Q: force_quiescent_state && cpu_online_map
, Paul E. McKenney
, (Tue Nov 11, 10:25 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Tue Nov 11, 10:34 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Dmitry Adamushko
, (Tue Nov 11, 2:28 pm)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rafael J. Wysocki
, (Tue Nov 11, 4:43 pm)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rusty Russell
, (Tue Nov 11, 8:30 pm)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rusty Russell
, (Tue Nov 11, 8:39 pm)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Wed Nov 12, 2:05 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Wed Nov 12, 9:03 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Heiko Carstens
, (Wed Nov 12, 9:51 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Paul E. McKenney
, (Wed Nov 12, 12:43 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, David Miller
, (Thu Nov 13, 4:11 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Thu Nov 13, 5:54 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, David Miller
, (Thu Nov 13, 7:50 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, David Miller
, (Thu Nov 13, 8:04 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Thu Nov 13, 8:29 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, David Miller
, (Thu Nov 13, 9:28 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Fri Nov 14, 1:51 am)
Re: [Bug #11988] Eliminate recursive mutex in compat fb io ...
, Geert Uytterhoeven
, (Fri Nov 14, 7:51 am)
Re: [Bug #11988] Eliminate recursive mutex in compat fb io ...
, Rafael J. Wysocki
, (Sat Nov 15, 4:51 am)
Re: [Bug #11989] Suspend failure on NForce4-based boards d ...
, Rafael J. Wysocki
, (Sat Nov 15, 6:37 am)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Thu Nov 20, 7:55 pm)
Re: [Bug #11875] radeonfb lockup in .28-rc (bisected)
, Benjamin Herrenschmidt
, (Thu Nov 20, 8:02 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [GIT PULL] time.c - respin
Ingo Molnar
Re: [PATCH] x86: silence section mismatch warning - uv_cpu_init
Rafael J. Wysocki
[Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Guido Tschakert
Re: what exactly is enc0?
Darrin Chandler
Re: strange output on openbsd C code
Colocation donated by:
Syndicate