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

RE: [Xen-devel] Re: [Xen-users] rebased openSUSE Xen dom0 Patches



> >in turn means the page cant be turned into a page table page? Or is
> >there some other magic that occurs later on that should decrement the
> >page type ref count before attempting to use the page as a page table
> >page?
> 
> Are you observing this with both the .31 and .32 patches?
> 

We're only testing the .32 patches.

> >Here's the extract of the code I am talking about (yes, we are using
a
> >64-bit Dom0):
> >...
> 
> But that code is precisely what guarantees that the pages *can* be
> converted to page table pages (by completely unmapping them from
> the kernel image part of the address space). So your explanation is
> rather confusing than clarifying to me...

I agree that that is the intent of this code -- what we _seem_ to
observe (and this
is hard to prove) is that the page type ref count is not being
decremented by this
code which would imply that the unmapping is not happening for some
reason. The only
real evidence I have for this is that the failure always occurs on one
of these pages.

Now, the first of these hypercalls creates a pte with PAGE_KERNEL as the
opts and
I think this includes read-write access whereas the second one
completely deletes
the pte for the alternate mapping -- the combined affect should leave
the page type 
ref count as one shouldn't it? (for the read-write kernel mapping)

That being the case, I'm not sure how the page type ref count is
supposed to get to
zero when reusing one of these pages as a page table page later on.

Thanks for your help
Simon

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