Re: release not called for my driver?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 3 Jan 2000 22:58:54 +0000 (GMT)


> the device, I get the call to release exactly how I expect. HOwever, if
> the application does a mmap of the device, then killing the device will
> cause the vmclose to be called, BUT RELEASE IS NOT CALLED.

Guess one - you are still fiddling with the usage counts. With Linux 2.2.x
you dont need to do that. Compare the 2.0 and 2.2 bttv drivers handling
of mmap

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