The driver supports mmap, as well as open/close/read/write. When I open
the driver, do reads and writes, and kill the application that opened
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.
This driver has been working great under 2.0 for some time, and other then
this problem, seems to work fine under 2.2. I believe it also worked
properly under 2.1 kernels, so I don't know when my problem started.
So what am I doing wrong? What can cause this?
Linux/Intel 2.2.13 kernel, although I generally support alpha as well.
-- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
- 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/