Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu Oct 19 2000 - 18:05:14 EST


>>>>> " " == Petr Vandrovec <VANDROVE@vc.cvut.cz> writes:

> You do not have to use NFS - look for my postings with
> 'page->mapping == NULL' in archive. Your code uses shared mmap,
> 'page->isn't
> it? Probably shared by couple of processes.

It's probably particularly nasty under NFS because of
invalidate_inode_pages(). The latter empties the page cache whenever
we can no longer trust it and calls remove_inode_page() on every
unlocked page. It won't care whether the page is mmapped or not.

My guess is therefore that the line setting 'page->mapping = NULL' in
__remove_inode_page() is a candidate for scrutiny...

Cheers,
  Trond
-
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/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:16 EST