On Mon, 23 Oct 2000, Petr Vandrovec wrote: > > With ClearPageDirty() kernel locked up (but no watchdog, so probably > some livelock) during bootup after fsck /. Yeah, the way the truncate logic works right now truncate_whole_page() has to remove the page from the inode list - otherwise truncate ends up looping forever trying to truncate that page ;). And there was a off-by-one error in my first untested version anyway: the page_count() should be tested against "2", not "1", as the truncate logic has elevated the count anyway (probably unnecessarily: once we get the page lock nobody else can race to remove it from the page cache anyway, so it's not as if it could go away). > Should I try ClearPageUptodate() instead? No, I'll have to fix the truncate logic to allow for this all. 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: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
- 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... Alexander Viro