Re: [PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-27 Thread Leandro Dorileo
Hi Rusty, On Tue, Jan 28, 2014 at 10:48:31AM +1030, Rusty Russell wrote: > Leandro Dorileo writes: > > Cchange init_vqs() to avoid calling twice the virtio_has_feature() > > - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was > > negotiated - > > consequently we prevent

Re: [PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-27 Thread Rusty Russell
Leandro Dorileo writes: > Cchange init_vqs() to avoid calling twice the virtio_has_feature() > - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - > consequently we prevent unnecessarily running the drivers' feature_table more > than needed. > > Signed-off-by: Leandro

Re: [PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-27 Thread Rusty Russell
Leandro Dorileo l...@dorileo.org writes: Cchange init_vqs() to avoid calling twice the virtio_has_feature() - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - consequently we prevent unnecessarily running the drivers' feature_table more than needed. Signed-off-by:

Re: [PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-27 Thread Leandro Dorileo
Hi Rusty, On Tue, Jan 28, 2014 at 10:48:31AM +1030, Rusty Russell wrote: Leandro Dorileo l...@dorileo.org writes: Cchange init_vqs() to avoid calling twice the virtio_has_feature() - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - consequently we prevent

[PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-25 Thread Leandro Dorileo
Cchange init_vqs() to avoid calling twice the virtio_has_feature() - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - consequently we prevent unnecessarily running the drivers' feature_table more than needed. Signed-off-by: Leandro Dorileo ---

[PATCH] virtio_balloon: don't call virtio_has_feature() twice on init_vqs()

2014-01-25 Thread Leandro Dorileo
Cchange init_vqs() to avoid calling twice the virtio_has_feature() - attempting to find out if VIRTIO_BALLOON_F_STATS_VQ feature was negotiated - consequently we prevent unnecessarily running the drivers' feature_table more than needed. Signed-off-by: Leandro Dorileo l...@dorileo.org ---