[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Double mapping of iomem assertion


  • To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2007 17:06:55 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 17 Oct 2007 09:07:39 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgQ17y0+31EX3zKEdyDiAAX8io7RQ==
  • Thread-topic: [Xen-devel] Double mapping of iomem assertion

On 17/10/07 16:58, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> The second ioremap calls get_vm_area() and happens to be given a region
> of virtual memory that at least partly overlaps the area that was used
> for the first one.  As the area was freed by the iounmap() in the middle
> this seems sensible, but then when it comes to get the PTE for the
> virtual addresses in the second map, it finds there are entries left
> over from the first one.

Well, that's bogus. iounmap() should zap all PTEs via remove_vm_area(). If
it's not doing so then we have a bug.

 -- Keir




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.