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

RE: [Xen-devel] problem with direct_remap_pfn_range parameters


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
  • Date: Thu, 15 Sep 2005 11:08:46 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 15 Sep 2005 18:07:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcW6GOdo2MR7LYmbRUy+4sHZDcRVSAABr91A
  • Thread-topic: [Xen-devel] problem with direct_remap_pfn_range parameters

sparse/drivers/xen is slowly (but surely) becoming common code
and direct_remap_pfn_range is called in
drivers/xen/privcmd/privcmd.c.  Changing that usage
means changing many other (x86) files, including some that
call it with &init_mm.  (Is there a parent vma for
init_mm?)

Or did I misunderstand your point?

Thanks,
Dan

> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
> Sent: Thursday, September 15, 2005 11:17 AM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] problem with direct_remap_pfn_range 
> parameters
> 
> 
> On 15 Sep 2005, at 17:45, Magenheimer, Dan (HP Labs Fort 
> Collins) wrote:
> 
> > I see there are a number of possible solutions and
> > none of them are particularly pretty, so thought
> > I would open a discussion rather than submit an
> > ugly patch that would likely be rejected :-)
> 
> I think direct_remap_pfn_range() is not accessed directly from common 
> code, so the interface can easily be changed. If so, changing 
> to take a 
> vma instead of mm is the obvious fix.
> 
>   -- 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®.