mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: linux-kernel@vger.kernel.org
Subject: Re: please revert bogus patch to vmscan.c
Date: Wed, 31 Oct 2001 11:38:53 +1100 (EST)	[thread overview]
Message-ID: <15327.18461.543095.591869@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <20011030183058.O1340@athlon.random>
In-Reply-To: <20011030175417.K1340@athlon.random> <XFMail.20011030182326.pochini@shiny.it> <20011030183058.O1340@athlon.random>

Andrea Arcangeli writes:

> On Tue, Oct 30, 2001 at 06:23:26PM +0100, Giuliano Pochini wrote:
> > 
> > >> #ifdef ?
> > >
> > > yes, but not for ppc, for alpha and all other archs without accessed bit
> > > provided in hardware (and cached in the tlb).
> > 
> > PPCs have that bits. I'm not sure if they are cached in the tbl.
> 
> yes, this is why it won't need to define the HAVE_NO_ACCESS_BIT_IN_TLB,
> only alpha will.  but again I'm not sure if it worth given we just
> reduced the flush frequency of an order of magnitude.

I don't think it has to do with whether the accessed bit is maintained
by hardware or by software.  On PPC, we actually maintain the accessed
and dirty bits in software - we don't use the hardware-maintained
R (referenced) and C (changed) bits, because they are in the HPTEs
(the PTEs in the hash table), and it is hard to get back from a linux
pte value to the corresponding HPTE.  The performance impact of
maintaining the accessed and dirty bits in software is negligible
according to the benchmarks I have done, and it is much much simpler
than trying to use the hardware R and C bits.

Paul.

  parent reply	other threads:[~2001-10-31  0:40 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-29 23:08 Benjamin LaHaise
2001-10-29 23:14 ` David S. Miller
2001-10-29 23:15   ` Benjamin LaHaise
2001-10-29 23:25     ` Linus Torvalds
2001-10-29 23:33       ` Benjamin LaHaise
2001-10-29 23:36       ` David S. Miller
2001-10-29 23:39         ` Benjamin LaHaise
2001-10-29 23:41           ` Linus Torvalds
2001-10-29 23:48             ` Benjamin LaHaise
2001-10-29 23:50             ` David S. Miller
2001-10-29 23:51               ` Benjamin LaHaise
2001-10-29 23:55               ` David S. Miller
2001-10-29 23:57                 ` Benjamin LaHaise
2001-10-29 23:58                 ` Linus Torvalds
2001-10-30  0:01                 ` David S. Miller
2001-10-30  0:05                   ` Benjamin LaHaise
2001-10-30  1:31               ` Rik van Riel
2001-10-30  1:34               ` David S. Miller
2001-10-30  1:42                 ` Linus Torvalds
2001-10-30  2:25                   ` Benjamin LaHaise
2001-10-30 15:20                     ` Andrea Arcangeli
2001-10-30 15:34                       ` Rik van Riel
2001-10-30 15:51                         ` Andrea Arcangeli
2001-10-30 16:34                           ` Benjamin LaHaise
2001-10-30 17:00                             ` Andrea Arcangeli
2001-10-30 17:07                               ` Rik van Riel
2001-10-30 16:13                         ` Giuliano Pochini
2001-10-30 16:54                           ` Andrea Arcangeli
2001-10-30 17:23                             ` Giuliano Pochini
2001-10-30 17:30                               ` Andrea Arcangeli
     [not found]                                 ` <15327.8495.767553.389519@cargo.ozlabs.ibm.com>
2001-10-31  1:57                                   ` Andrea Arcangeli
2001-10-31  0:38                               ` Paul Mackerras [this message]
2001-10-30 16:38                         ` Linus Torvalds
2001-10-30 16:47                           ` Benjamin LaHaise
2001-10-30 16:57                           ` Victor Yodaiken
2001-10-30 17:16                             ` Troy Benjegerdes
2001-10-30 17:17                             ` Linus Torvalds
2001-10-30 17:51                               ` Victor Yodaiken
2001-10-30 18:01                               ` Cort Dougan
2001-10-30 17:23                           ` Benjamin Herrenschmidt
2001-10-30 17:36                             ` Benjamin Herrenschmidt
2001-10-30 17:41                             ` Linus Torvalds
2001-10-30 21:39                           ` Paul Mackerras
2001-10-30 22:36                             ` Victor Yodaiken
2001-10-30  1:46                 ` David S. Miller
2001-10-30  1:49                 ` Benjamin LaHaise
2001-10-30  9:03               ` Alan Cox
2001-10-29 23:22   ` Linus Torvalds
2001-10-29 23:29     ` Benjamin LaHaise
2001-10-29 23:44       ` Linus Torvalds
2001-10-30  0:02       ` Hugh Dickins
2001-10-30  0:04         ` Linus Torvalds
2001-10-30  0:04       ` David S. Miller
2001-10-29 23:51 ` Paul Mackerras

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=15327.18461.543095.591869@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®