Re: [RFC][PATCH] Fix lock inversion aio_kick_handler()

From: Zach Brown
Date: Thu Nov 09 2006 - 17:52:23 EST



> Zach> > Doh. Unfortunately, this patch isn't entirely correct as it
> Zach> could race with > __put_ioctx() which sets ioctx->mm = NULL.
>
> Zach> Aha, yeah, that's what I was missing. Thanks.
>
> Zach> > Something like the following should do the trick:
>
> Zach> Cool, I'll respin and send it out.
>
> Did you ever resend this patch, Zach?

Sadly, no. I vaguely remember thinking that the refcounting was pretty
messed up in these paths and that more than just this patch was needed.
I don't remember the details.

Maybe I should take a look again :/.

> current kernels. I'm still running into the lockdep warnings.

When doing what? Working with that IO_CMD_EPOLL_WAIT patch?

- z
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/