On Mon, 23 Oct 2000, Petr Vandrovec wrote: > > Yes. With sleep(60) no oops occur (it takes ~45 secs to exit child). > This signals to me: should not vmtruncate_list acquire mm->mmap_sem, > if it modifies page tables? No. It should get the page_table lock, but that is sufficient for anybody who _clears_ page tables (and is pretty much the same case as paging something out of somebody elses page tables). > I cannot find anything what prevents doing > vmtruncate in one task and filemap_sync in another - neither > page_table_lock spinlock, nor mmap_sem semaphore... filemap_sync() does hold the page table lock. (Which is certainly not to say that it's necessarily bug-free, but I don't see any obvious problems off-hand). Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_wri... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:fil... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/file... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa Petr Vandrovec
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_wri... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa Petr Vandrovec
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_wri... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa Petr Vandrovec
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_wri... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_wri... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:fil... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/filemap.c... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/file... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/... Alexander Viro
- Re: 2.4.0-test10-pre3:Oops in mm/... Linus Torvalds
- Re: 2.4.0-test10-pre3:Oops in mm/... Alexander Viro