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

Re: [Xen-devel] [PATCH V13 1/7] xen/arm: p2m changes for mem_access support





On Thu, Mar 12, 2015 at 12:27 PM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
On Fri, 2015-03-06 at 22:24 +0100, Tamas K Lengyel wrote:
> Add necessary changes for page table construction routines to pass
> the default access information.

You do more than just plumb through the access information variable
thoguh. You seem to setup preemption support, add some tother
needed-by-generic-code infrastructure functions and data fields too etc.

The actual code changes seem OK to me, assuming I have inferred your
intention correctly. But please could you expand on this sentence to
describe the full scope/intention of the changes.

Ack, certainly.
Â

>Â We store the p2m_access_t info in a
> Radix tree as the PTE lacks enough software programmable bits.

I think here you just setup the radix tree which will eventually be used
to do this, at least I can't see the actual store, nor any lookups.
Assuming that is what was intended please indicate that here.

It's possible that some of these changes would have been clearer done as
individual patches later on, or part of a later patch which actually
uses things. We're at v13 though so I'll leave that for you to decide.

I guess naming this patch something like "groundwork for mem_access support" would be more descriptive. Adding everything when they are actually getting used would have resulted in a massive patch that I think would have been harder to review. If possible, I will just clean up the patch message to better describe what is being added by this patch instead of breaking it down further.

Thanks,
Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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