From: Paul Mackerras <paulus@samba.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: "David S. Miller" <davem@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: Re: Make 2.5.17 TLB even more friendlier
Date: Wed, 22 May 2002 09:05:40 +1000 (EST) [thread overview]
Message-ID: <15594.53956.275011.958879@argo.ozlabs.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0205211139440.3073-100000@penguin.transmeta.com>
Linus Torvalds writes:
> Sp why don't you just make "tlb_remove_pte_entry()" look at your bit, and
> then if that bit is set you try to remove the entry from the hash chains
> at that point?
Simply the desire to batch up the hash table searches for efficiency,
particularly on SMP where we have to take a spinlock before touching
the MMU hash table. This will be an even bigger win on ppc64 on
partitioned machines where we have to call the hypervisor to make
changes to the MMU hash table.
I'm thinking now that I would be better off doing the batching by
storing a list of virtual addresses needing flushing in the
mmu_gather_t, instead of relying on getting at the special bits in the
PTEs at some time after the tlb_remove_tlb_entry call.
Regards,
Paul.
next prev parent reply other threads:[~2002-05-21 23:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 6:07 David S. Miller
2002-05-21 12:18 ` Paul Mackerras
2002-05-21 12:10 ` David S. Miller
2002-05-21 12:53 ` Paul Mackerras
2002-05-21 18:42 ` Linus Torvalds
2002-05-21 23:05 ` Paul Mackerras [this message]
2002-05-21 23:13 ` Linus Torvalds
2002-05-22 3:57 ` Paul Mackerras
2002-05-22 4:04 ` Linus Torvalds
2002-05-22 8:40 ` 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=15594.53956.275011.958879@argo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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
all inboxes | Powered by JetHome®