linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: frankeh@us.ibm.com, Rik van Riel <riel@conectiva.com.br>,
	Andreas Bombe <andreas.bombe@munich.netsurf.de>,
	linux-kernel@vger.rutgers.edu, linux-mm@kvack.org
Subject: Re: Best way to extend try_to_free_pages()?
Date: 17 May 2000 11:44:12 +0200	[thread overview]
Message-ID: <shsog65eck3.fsf@charged.uio.no> (raw)
In-Reply-To: "Stephen C. Tweedie"'s message of "Wed, 17 May 2000 09:08:39 +0100"

>>>>> " " == Stephen C Tweedie <sct@redhat.com> writes:

     > Chris Mason and I have already been looking at doing something
     > similar, but on a per-page basis, to allow advanced filesystems
     > to release memory in a controlled manner.  This is particularly
     > necessary for journaled filesystems, in which releasing certain
     > data may require a transaction commit --- until the commit,
     > there is just no way shrink_mmap() will be able to free those
     > pages, so there has to be a way for shrink_mmap() to let the
     > filesystem know that it wants some memory back.

     > 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?

Cheers,
  Trond
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

  reply	other threads:[~2000-05-17  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-17  1:51 frankeh
2000-05-17  8:08 ` Stephen C. Tweedie
2000-05-17  9:44   ` Trond Myklebust [this message]
2000-05-17 10:48     ` Stephen C. Tweedie
     [not found] <20000517005828.A3028@storm.local>
2000-05-16 23:46 ` Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shsog65eck3.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=andreas.bombe@munich.netsurf.de \
    --cc=frankeh@us.ibm.com \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=sct@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox