Messages in this thread | | | From | Russell King <> | Subject | Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa | Date | Thu, 19 Oct 2000 23:55:18 +0100 (BST) |
| |
Roger Larsson writes: > Will it work correctly if 4. is done before 3. (even before 2?) > Is it legal/good practice to unmap the file after closing it? > (Since the sharing needs the fd to mmap it)
Dunno, haven't tried that yet. I'll have a go tomorrow, but I think it'll work correctly. I'll also dig about in the VFS / NFS code some more to see if I can find anything obvious.
> I would have expected this order: > A. open file > B. shared map file > C. unmap shared mapping > D. close file > E. unlink file
BTW, the program which is giving grief is good ol' sendmail, v8.11. It does the unmap after close all over the place. _____ |_____| ------------------------------------------------- ---+---+- | | Russell King rmk@arm.linux.org.uk --- --- | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / | | +-+-+ --- -+- / | THE developer of ARM Linux |+| /|\ / | | | --- | +-+-+ ------------------------------------------------- /\\\ | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |