linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: linux-mm@kvack.org
Subject: Re: writeback list
Date: Fri, 14 Jul 2000 10:35:00 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0007141026340.10193-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <20000714103535.H3113@redhat.com>

On Fri, 14 Jul 2000, Stephen C. Tweedie wrote:
> On Thu, Jul 13, 2000 at 04:30:35PM -0300, Rik van Riel wrote:
> > 
> > we may have forgotten something in our new new vm design from
> > last weekend. While we have the list head available to put
> > pages in the writeback list, we don't have an entry in to put
> > the timestamp of the write in struct_page...
> 
> It shouldn't matter.  Just assume something like the 30-second sync.
> You can keep placeholders in the list for that, or even do something
> like have multiple lists, one for the current 30-seconds being synced,
> one for the next sync.  You can do the same for 5-second metadata
> syncs too if you want;

Placeholders seem like the best idea to me. Having separate
lists for data and metadata will have to go away anyway when
we start using journaled filesystems (which have their own
ordering issues).

> It perturbs the LRU a bit, but then we also have page aging so
> that's not too bad.  (Are you planning on using the age values
> in the inactive list, btw?)

All pages on the inactive list will have age 0, once they are
touched they go back to the active list...

regards,

Rik
--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/		http://www.surriel.com/

--
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-07-14 13:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-13 19:30 Rik van Riel
2000-07-14  9:35 ` Stephen C. Tweedie
2000-07-14 13:35   ` Rik van Riel [this message]
     [not found] <8kl5ij$4vtnc$1@fido.engr.sgi.com>
2000-07-13 20:55 ` Rajagopal Ananthanarayanan
2000-07-13 22:21   ` 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=Pine.LNX.4.21.0007141026340.10193-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=linux-mm@kvack.org \
    --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