Re: [Xen-devel] [PATCH v6 01/12] xen: correct gnttab_get_status_frames()

2017-09-18 Thread Wei Liu
On Wed, Sep 13, 2017 at 05:46:40PM +0200, Juergen Gross wrote: > In gnttab_get_status_frames() all accesses to nr_status_frames should > be done with the grant table lock held. > > While at it correct coding style: labels should be indented by one > space. > > Signed-off-by: Juergen Gross

Re: [Xen-devel] [PATCH v6 01/12] xen: correct gnttab_get_status_frames()

2017-09-13 Thread Paul Durrant
dun...@citrix.com>; Andrew Cooper > <andrew.coop...@citrix.com>; Ian Jackson <ian.jack...@citrix.com>; Tim > (Xen.org) <t...@xen.org>; julien.gr...@arm.com; jbeul...@suse.com; > dgde...@tycho.nsa.gov > Subject: Re: [Xen-devel] [PATCH v6 01/12] xen: correct >

Re: [Xen-devel] [PATCH v6 01/12] xen: correct gnttab_get_status_frames()

2017-09-13 Thread Juergen Gross
e.com>; sstabell...@kernel.org; Wei Liu >> <wei.l...@citrix.com>; George Dunlap <george.dun...@citrix.com>; >> Andrew Cooper <andrew.coop...@citrix.com>; Ian Jackson >> <ian.jack...@citrix.com>; Tim (Xen.org) <t...@xen.org>; >> julien.gr..

Re: [Xen-devel] [PATCH v6 01/12] xen: correct gnttab_get_status_frames()

2017-09-13 Thread Paul Durrant
...@citrix.com>; George Dunlap <george.dun...@citrix.com>; > Andrew Cooper <andrew.coop...@citrix.com>; Ian Jackson > <ian.jack...@citrix.com>; Tim (Xen.org) <t...@xen.org>; > julien.gr...@arm.com; jbeul...@suse.com; dgde...@tycho.nsa.gov > Subject:

[Xen-devel] [PATCH v6 01/12] xen: correct gnttab_get_status_frames()

2017-09-13 Thread Juergen Gross
In gnttab_get_status_frames() all accesses to nr_status_frames should be done with the grant table lock held. While at it correct coding style: labels should be indented by one space. Signed-off-by: Juergen Gross --- xen/common/grant_table.c | 15 --- 1 file