|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] Re: Hugepages don't work on the Xen Linux git tree
 
On 04/19/2010 07:27 PM, Dave McCracken wrote:
> The fix I have in older kernels is for set_huge_pte_at() to call set_pmd() 
> instead.  However, in this brave new world of paravirt vectors, should I 
> instead set up a vector for it?  What is the architecturally right thing to 
> do?  However we decide to do it, expect a patch for it shortly afterward.
>   
Yeah, its a bit awkward.  A huge pte is semantically a pte, but
structurally a pmd, so which should it be?  The perhaps "cleanest" fix
might be to add a set of huge pte operators, but I don't think that's
really justified given that this is a fairly specific, narrow case.
I think on balance the best thing is to make set_huge_pte_at() call
set_pmd().
    J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |