Re: [PATCH] 2.4.21-pre7 ide request races

Andrew Morton (akpm@digeo.com)
Mon, 14 Apr 2003 03:23:39 -0700


Jens Axboe <axboe@suse.de> wrote:
>
> How would that solve the problem? The request could be gone even before
> end_that_request_last() is run, that is the issue.

In that case I didn't understand your description of the bug even the tiniest
little bit.

That request is sitting in the kernel stack of some process which is sleeping
in wait_for_completion(). Hence it is safe memory until someone runs
complete() against the completion struct.
-
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/