Jesper Dangaard Brouer 458e5ff13e edac: core: remove completion-wait for complete with rcu_barrier
Module edac_core.ko uses call_rcu() callbacks in edac_device.c, edac_mc.c
and edac_pci.c.

They all use a wait_for_completion() scheme, but this scheme it not 100%
safe on multiple CPUs.  See the _rcu_barrier() implementation which
explains why extra precausion is needed.

The patch adds a comment about rcu_barrier() and as a precausion calls
rcu_barrier().  A maintainer needs to look at removing the
wait_for_completion code.

[dougthompson@xmission.com: remove the wait_for_completion code]
Signed-off-by Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:21:05 -07:00
..
2009-09-24 09:34:38 +09:30
2009-09-22 07:17:27 -07:00
2009-09-23 07:39:41 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 10:07:49 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:29 -07:00
2009-09-15 15:08:40 -04:00
2009-09-23 07:39:44 -07:00
2009-09-16 16:21:00 -04:00
2009-09-23 07:39:43 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 22:26:32 +09:30
2009-09-18 08:39:37 +00:00
2009-09-23 10:07:49 -07:00