linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@transmeta.com>
To: Ben LaHaise <bcrl@redhat.com>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH] workaround for lost dirty bits on x86 SMP
Date: Fri, 15 Sep 2000 12:56:31 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.10009151252580.10606-100000@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0009112018110.5189-100000@devserv.devel.redhat.com>


On Mon, 11 Sep 2000, Ben LaHaise wrote:
>
> The patch below is one means of working around the lost dirty bit problem
> on x86 SMP.  If possible, I'ld like to see this tested in 2.4 as it would
> be the least intrusive fix for 2.2.

Yes, I think this is the right fix.

I've seriously considered making this a architecturally visible feature:
the reason for that is that we're probably better off knowing how many
dirty pages the user has _anyway_ - just to be able to balance things off
a bit. 

So it might be a good idea to make this stuff happen for the UP case too,
instead of trying to optimize it away there..

Have you done any statistics on how many of these "clean->dirty" faults we
get? Because obviously we _will_ fault more. I don't think it happens all
that often (most of them will probably have been COW-faults anyway, the
way Linux handles anonymous pages), but it would be good to see actual
numbers like "increases system page faults by 1%" in order to get more
than just an intuitive feel for it..

		Linus

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

      parent reply	other threads:[~2000-09-15 19:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-12  0:43 Ben LaHaise
2000-09-12  0:59 ` Kanoj Sarcar
2000-09-12  1:36   ` bcrl
2000-09-12  1:56     ` Rik van Riel
2000-09-12  2:34     ` Kanoj Sarcar
2000-09-12  3:39       ` Benjamin C.R. LaHaise
2000-09-12  6:13         ` Kanoj Sarcar
2000-09-12 10:24     ` Stephen C. Tweedie
2000-09-12 16:54       ` Ben LaHaise
2000-09-15 19:56 ` Linus Torvalds [this message]

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.10.10009151252580.10606-100000@penguin.transmeta.com \
    --to=torvalds@transmeta.com \
    --cc=bcrl@redhat.com \
    --cc=linux-mm@kvack.org \
    /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