[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 10/15] xen/arm: Data abort exception (R/W) mem_events.
On Wed, Sep 3, 2014 at 10:20 PM, Julien Grall <julien.grall@xxxxxxxxxx> wrote:
I'm not entirely sure I could easily extend apply_one_level/apply_p2m_changes without significant changes and a potential to affect something else along the way.. I can give it a try though but I'm a bit hesitant.. Do you see an immediate performance reason to try to hook it into those functions instead of keeping it separate? The current function is pretty straight forward in what it is doing as it is.
Hm, I guess I should set rc in that case to an appropriate -errno. I don't think we should continue setting permission if we had a failure midway through. I'll look into this a bit more.
Not for every pte but only for those pte's where the access permission is not p2m_access_rwx. This is what I currently have in plans for v4: https://github.com/tklengyel/xen/compare/arm_memaccess4?expand=1#diff-448087f66572e941e5aab286c05c8efaR481 I'm also thinking this function should attempt to delete the node from the radix tree in case the setting being set is p2m_access_rwx as to remove stale entries.
Yeap, you are right, it does work with unsigned from the beginning. Regards, Thanks! Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |