Messages in this thread | | | From | "Matthias Urlichs" <> | Date | Fri, 14 Jul 2000 16:16:16 +0200 | Subject | Re: [Announce] BKL shifting into drivers and filesystems - beware |
| |
Hi,
Rui Sousa: > The changes you made to some of the sound drivers seem to imply > it's possible to enter release()/mmap() before open() returns, is > this right? > No. Your code doesn't have a file descriptor before open() returns. Therefore it can't do anything with the file.
Liekwise, release() is called when there's no other reference to the file descriptor. This is protected by the lock in the processes' file struct.
-- Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661 The quote was selected randomly. Really. | http://smurf.noris.de/ -- Some do, some don't.
- 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/
| |