Re: Best way to extend try_to_free_pages()?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed May 17 2000 - 05:48:46 EST


Hi,

On Wed, May 17, 2000 at 11:44:12AM +0200, Trond Myklebust wrote:
>
> > The route we'll probably go for this is through
> > address_space_operations callbacks from shrink_mmap. That
> > allows proper fairness --- all fses can share the same lru that
> > way.
>
> Could such a proposal for a per-page flushing interface perhaps also
> be used for the implementation of more generic versions of 'sync()' &
> friends?

Right now, the write_super() callback to the fs is about the best
place to trap syncs. I'm not sure that you want to have per-page
callbacks for sync --- you really want the fs to be able to batch
things up itself.

Cheers,
 Stephen

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:12 EST