lkml.org 
[lkml]   [2008]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kmap_atomic_pfn for PCI BAR access?
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

>
> 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


\
 
 \ /
  Last update: 2008-06-26 12:39    [W:0.104 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site