linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Miquel van Smoorenburg <miquels@cistron.nl>
Cc: linux-mm@kvack.org
Subject: Re: pages not marked as accessed on non-page boundaries
Date: Sun, 5 Dec 2004 09:44:37 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0412050944040.5582@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <20041205141342.GA29174@cistron.nl>

On Sun, 5 Dec 2004, Miquel van Smoorenburg wrote:

> When you have a database accessing small amounts of data
> in an index file randomly, then most of those pages will
> not be marked as read and will be thrown out too soon.

> Would it be a good thing to fix this ? Patch is below.

Your patch makes a lot of sense to me.  This should help
keep database indexes in memory...

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--
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-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2004-12-05 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-05 14:13 Miquel van Smoorenburg
2004-12-05 14:44 ` Rik van Riel [this message]
2004-12-06 14:44   ` Miquel van Smoorenburg

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.61.0412050944040.5582@chimarrao.boston.redhat.com \
    --to=riel@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=miquels@cistron.nl \
    /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