>>> On 10.12.18 at 15:06, <andrew.coop...@citrix.com> wrote:
> * Add "uint64_t raw" to seg_desc_t to remove the opencoded uint64_t casting
>    in this function.  Change the parameter to be of type seg_desc_t.
>  * Rename the 'pa' parameter to 'gaddr', because it lives in GFN space rather
>    than physical address space.
>  * Use gfn_t and mfn_t rather than unsigned longs.
>  * Check the alignment and proposed new descriptor before taking a page
>    reference.
>  * Reuse the out label for all exit paths.
>  * Use the more flexible ACCESS_ONCE() accessor in preference to
>    write_atomic()
> 
> No expected change in behaviour.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
> Reviewed-by: Wei Liu <wei.l...@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to