Messages in this thread Patch in this message | | | Date | Tue, 22 Jan 2013 21:43:27 +0800 | Subject | Re: next-20130117 - kernel BUG with aio | From | Hillf Danton <> |
| |
On Mon, Jan 21, 2013 at 9:24 PM, Valdis Kletnieks <Valdis.Kletnieks@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 */
--
| |