mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: "David S. Miller" <davem@redhat.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: Make 2.5.17 TLB even more friendlier
Date: Tue, 21 May 2002 22:18:42 +1000 (EST)	[thread overview]
Message-ID: <15594.15138.312494.817676@argo.ozlabs.ibm.com> (raw)
In-Reply-To: <20020520.230750.83973189.davem@redhat.com>

David S. Miller writes:

> The next part is allowing for a "full_mm_flush" state such that
> tlb_flush() can make decisions based upon that.  Then we move
> the tlb_{start,end}_vma() invocations one level up.  So for
> the exit_mmap case it is:
> 
> 	tlb_gather_mmu(mm, 1);
> 
> 	flush_cache_mm(mm);
> 
> 	for each vma {
> 		...
> 		unmap_page_range(...);
> 	}
> 
> 	clear_page_tables();
> 	tlb_finish_mmu();

I still need tlb_end_vma in this case - or at least I need a hook
that gets called after all the tlb_remove_tlb_entry calls are done but
before clear_page_tables is called.  If I had that hook (called in
both the exit_mmap and unmap cases) then I would not need the
tlb_start/end_vma hooks.

Regards,
Paul.

  reply	other threads:[~2002-05-21 12:20 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 [this message]
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
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.15138.312494.817676@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®