On Mon, Jan 21, 2013 at 9:24 PM, Valdis Kletnieks <valdis.kletni...@vt.edu> wrote: > Am seeing a reproducible BUG in the kernel with next-20130117 > whenever I fire up VirtualBox. Unfortunately, I hadn't done that > in a while, so the last 'known good' kernel was next-20121203. > > I'm strongly suspecting one of Kent Overstreet's 32 patches against aio, > because 'git blame' shows those landing on Jan 12, and not much else > happening to fs/aio.c in ages. > Take a try? --- --- a/fs/aio.c Tue Jan 22 21:37:54 2013 +++ b/fs/aio.c Tue Jan 22 21:43:58 2013 @@ -683,6 +683,9 @@ static inline void kioctx_ring_unlock(st { struct aio_ring *ring;
+ if (!ctx) + return; + smp_wmb(); /* make event visible before updating tail */ -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/