linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: Dean Roe <roe@sgi.com>
Cc: linux-ia64@vger.kernel.org, linux-mm@kvack.org
Subject: RE: [ PATCH ] - Avoid slow TLB purges on SGI Altix systems
Date: Thu, 27 Oct 2005 11:41:13 -0700	[thread overview]
Message-ID: <B8E391BBE9FE384DAA4C5C003888BE6F04CC08DF@scsmsx401.amr.corp.intel.com> (raw)

>flush_tlb_range() only calls platform_global_tlb_purge() for CONFIG_SMP,
>so there's no point in having that code in ia64_global_tlb_purge().

So you have dropped the "mm->context = 0;" for the UP case (and replaced
it with a series of ia64_ptcl() calls).

To maintain the old behaivour you need to have:

#ifndef SMP
	if (mm != current->active_mm) {
		mm->context = 0;
		return;
	}
#endif

in the start of flush_tlb_range().


-Tony

--
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:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2005-10-27 18:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 18:41 Luck, Tony [this message]
2005-10-27 18:44 ` Dean Roe
  -- strict thread matches above, loose matches on Subject: below --
2005-10-27 20:41 [PATCH] " Dean Roe
2005-10-27 16:01 [ PATCH ] " Luck, Tony
2005-10-27 18:31 ` Dean Roe
2005-10-14 19:55 Dean Roe

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=B8E391BBE9FE384DAA4C5C003888BE6F04CC08DF@scsmsx401.amr.corp.intel.com \
    --to=tony.luck@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=roe@sgi.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