[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/7] common: avoid atomic read-modify-write accesses in map_vcpu_info()
Hi Jan, On 3/12/19 9:30 AM, Jan Beulich wrote: On 11.03.19 at 18:53, <julien.grall@xxxxxxx> wrote:Hi, On 11/03/2019 16:50, Andrew Cooper wrote:On 11/03/2019 16:48, Jan Beulich wrote:There's no need to set the evtchn_pending_sel bits one by one. Simply write full words with all ones. For Arm this requires extending write_atomic() to also handle 64-bit values; for symmetry read_atomic() gets adjusted as well. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> (I'll leave the ARM assembly to Julien to check over)Reviewed-by: Julien Grall <julien.grall@xxxxxxx> I can queue this series in my next branch once it is fully acked.I was meaning to apply right away whatever initial parts of it are fully acked, as this isn't a major change, and it doesn't have a significant risk of conflicts with potential last minute changes for 4.12. This works for me. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |