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

Re: [Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c



>>> On 21.08.17 at 20:05, <jgross@xxxxxxxx> wrote:
> The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly
> identical. Move the code into a function in grant_table.c and add an
> architecture dependant hook to handle the differences.
> 
> This at once fixes a bug in the arm code which didn't unlock the grant
> table in error case.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

This will need re-basing over the XSA-235 fix which went in yesterday.
Perhaps worth having a local variable for d->grant_table in
gnttab_map_frame(), but apart from that the change looks fine.

Jan


_______________________________________________
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®.