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

Re: [Xen-devel] [RFC 21/22] xen/arm: p2m: Re-implement p2m_set_mem_access using p2m_{set, get}_entry



On 09/07/16 09:56, Julien Grall wrote:
> Hi Ravzan,
> 
> On 06/09/2016 20:16, Razvan Cojocaru wrote:
>> On 09/06/16 22:06, Stefano Stabellini wrote:
>>> On Thu, 28 Jul 2016, Julien Grall wrote:
>>>>> The function p2m_set_mem_access can be re-implemented using the
>>>>> generic
>>>>> functions p2m_get_entry and __p2m_set_entry.
>>>>>
>>>>> Note that because of the implementation of p2m_get_entry, a TLB
>>>>> invalidation instruction will be issued for each 4KB page.
>>>>> Therefore the
>>>>> performance of memaccess will be impacted, however the function is now
>>>>> safe on all the processors.
>>>>>
>>>>> Also the function apply_p2m_changes is dropped completely as it is not
>>>>> unused anymore.
>>>>>
>>>>> Signed-off-by: Julien Grall <julien.grall@xxxxxxx>
>>>>> Cc: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
>>>>> Cc: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
>>> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>>
>> How far is this patch from landing into staging? Considering the recent
>> discussion about the patch I'm working on, this would certainly impact
>> the upcoming ARM part of it.
> 
> I expect this to be in Xen 4.8. I also realized that without this patch
> it will be harder to implement the ARM side.
> 
> Given that I would be fine to write the ARM side once this series is out
> and your patch ready.

Thank you Julien, I appreciate your help!


Thanks,
Razvan

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

 


Rackspace

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