lkml.org 
[lkml]   [2002]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: invalidate_inode_pages in 2.5.32/3
Date
On Friday 06 September 2002 03:08, Andrew Morton wrote:
> Should we be forcibly unmapping the pages from pagetables? That would
> result in them being faulted in again, and re-read.

There's no conceptual difficulty if it's a truncate. For NFS, maybe
the thing to do is hold ->sem long enough to do whatever dark magic
NFS needs?

> That might work. It's a bit of a hassle that ->releasepage() must
> be nonblocking, but generally it just wants to grab locks, decrement
> refcounts and free things.

Err. I really really wonder why the vfs is not supposed to know
about these goings on, to the extent of being able to take care of
them itself.

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.137 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site