Re: IDE locking problem

From: Benjamin Herrenschmidt (benh@kernel.crashing.org)
Date: Sun Aug 03 2003 - 09:25:22 EST


> The last step is bad - sooner or later the queue will be kfreed, and if
> there are bozos around that still have references, they would access
> random memory. It must be guaranteed that all references expired before
> the tear down begins. Just leaving a dead flag set is not sufficient.

Jens ? I see no refcounting of the queue, but then we enter the
deep guts of the block layer and all this is pretty much obscure
to me. What can be done here ?

Ben.

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:21 EST