Messages in this thread | | | Date | Mon, 4 Aug 2003 07:40:20 +0200 | From | Jens Axboe <> | Subject | Re: IDE locking problem |
| |
On Sun, Aug 03 2003, Lou Langholtz wrote: > Benjamin Herrenschmidt wrote: > > >>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,. . . > > > struct request_queue's kobj field perhaps?
Queue still needs dynamically allocated for this to work, and it isn't. This is one of Al's projects, but he seems to be busy and/or away. It's pretty straight forward but pretty massive change, wonder if Linus could be talked into it...
-- Jens Axboe
- 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/
| |