Re: kmap_atomic_pfn for PCI BAR access?

From: Dave Airlie
Date: Thu Jun 26 2008 - 02:02:29 EST


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

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/