Re: [PATCH] __free_pages_ok oops

From: Gerd Knorr (kraxel@bytesex.org)
Date: Thu Feb 14 2002 - 06:10:37 EST


> However: that is the only unambiguous example I've seen, and you
> may argue that his bttv 0.8 driver is not in the current 2.4 tree,
> is experimental, and even wrong in that area (we now know it also
> vfrees there).

I've recently changed the code to make it *not* call unmap_kiobuf/vfree
from irq context. Instead bttv 0.8.x doesn't allow you to close the
device with DMA xfers in flight. If you try this the release() fops
handler will block until the transfer is done, then unmap_kiobuf from
process context, then return.

  Gerd

-- 
#define	ENOCLUE 125 /* userland programmer induced race condition */
-
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 : Fri Feb 15 2002 - 21:01:01 EST