Re: problems with 2.6.12 and ioremap/iounmap

From: Andi Kleen
Date: Wed May 18 2005 - 18:53:52 EST


On Wed, May 18, 2005 at 06:34:25PM -0500, Terence Ripperda wrote:
> > > perhaps iounmap should be calling ioremap_change_attr rather than
> >
> > What is ioremap_change_attr?
>
> a static function in ioremap.c that is called by __ioremap. it's a
> wrapper function around change_page_attr. I only see it in the x86_64
> architecture, not i386.

Oh yes, indeed. I forgot that I wrote it :) Calling global_flush_tlb
in iounmap is indeed a very good idea.

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