LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@linux.intel.com>
To: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Cc: tglx@linutronix.de, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: issue with patch "x86: no CPA on iounmap"
Date: Mon, 04 Feb 2008 20:41:03 -0800	[thread overview]
Message-ID: <47A7E8DF.3080209@linux.intel.com> (raw)
In-Reply-To: <20080205011357.GA14712@linux-os.sc.intel.com>

Siddha, Suresh B wrote:
> This is wrt to x86 git commit f56d005d30342a45d8af2b75ecccc82200f09600
> 	"x86: no CPA on iounmap"
> 
> This can use performance issue. When a GART driver unmaps a RAM page,
> which was mapped as UC, this commit will still retain UC attribute
> on the kernel identity mapping. This can cause mysterious performance issue
> if this freed page gets used by kernel later.
> 
> For now we should change the attribute during iounmap and in future PAT
> infrastructure will have necessary hooks to avoid the aliasing issues.
> 

this is a hard one; because the flipside is someone ioremapping the same page twice
(which is not impossible if there's 2 1k bars)... and then one of them gets iounmapped,
which would turn the page cachable again.

  reply	other threads:[~2008-02-05  4:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05  1:13 Siddha, Suresh B
2008-02-05  4:41 ` Arjan van de Ven [this message]
2008-02-05  4:48 ` Arjan van de Ven
2008-02-05  7:05   ` Ingo Molnar
2008-02-05  7:14     ` Arjan van de Ven
2008-02-07 20:02     ` Siddha, Suresh B

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=47A7E8DF.3080209@linux.intel.com \
    --to=arjan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=suresh.b.siddha@intel.com \
    --cc=tglx@linutronix.de \
    --subject='Re: issue with patch "x86: no CPA on iounmap"' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).