From: Arjan van de Ven <arjan@infradead.org>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Dave Airlie <airlied@linux.ie>,
Jeremy Fitzhardinge <jeremy@goop.org>,
Keith Packard <keithp@keithp.com>,
Dave Airlie <airlied@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: kmap_atomic_pfn for PCI BAR access?
Date: Thu, 26 Jun 2008 06:02:16 -0700 [thread overview]
Message-ID: <20080626060216.1fe210c4@infradead.org> (raw)
In-Reply-To: <20080626033614.0ef55f9d@infradead.org>
On Thu, 26 Jun 2008 03:36:14 -0700
Arjan van de Ven <arjan@infradead.org> wrote:
> On Thu, 26 Jun 2008 07:02:15 +0100 (IST)
> Dave Airlie <airlied@linux.ie> wrote:
>
> > > >
> > >
> > > Anything that does any kind of pagetable manipulation needs to do
> > > tlb flushes. kunmap_atomic handles the flushing.
> >
> > It doesn't however need to do an IPI dance which is the worst part
> > of doing a tlb flush on SMP machines.
> >
> > flushing local CPU tlbs is bad, but doing IPIs and waiting for
> > everyone else is brutal.
>
> but you only do IPI's for the multithreaded case to cpus where you're
> running; otoh I guess games are multithreaded nowadays
eh never mind this is total bogus
yes a full ipi is needed.
note that with ioremap you may need certain tricks as well to deal with
cache type aliasing, depending on the type of ioremap you want (wc?)
>
> >
> > Dave.
>
>
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2008-06-26 13:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 17:34 Keith Packard
2008-06-26 1:18 ` Jeremy Fitzhardinge
2008-06-26 1:23 ` Dave Airlie
2008-06-26 3:11 ` Jeremy Fitzhardinge
2008-07-07 6:53 ` Nick Piggin
2008-07-07 7:05 ` Arjan van de Ven
2008-07-07 11:19 ` Nick Piggin
2008-06-26 4:36 ` Arjan van de Ven
2008-06-26 5:02 ` Dave Airlie
2008-06-26 5:33 ` Keith Packard
2008-06-26 5:36 ` Keith Packard
2008-06-26 5:59 ` Jeremy Fitzhardinge
2008-06-26 6:02 ` Dave Airlie
2008-06-26 10:36 ` Arjan van de Ven
2008-06-26 13:02 ` Arjan van de Ven [this message]
2008-06-26 10:34 ` Arjan van de Ven
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=20080626060216.1fe210c4@infradead.org \
--to=arjan@infradead.org \
--cc=airlied@gmail.com \
--cc=airlied@linux.ie \
--cc=jeremy@goop.org \
--cc=keithp@keithp.com \
--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®