Re: [dpdk-dev] [PATCH v2 1/5] vhost: un-inline dirty pages logging functions

2019-05-19 Thread Tiwei Bie
On Fri, May 17, 2019 at 05:06:09PM +0200, Maxime Coquelin wrote: [...] > +void > +__vhost_log_cache_write(struct virtio_net *dev, struct vhost_virtqueue *vq, > + uint64_t addr, uint64_t len) > +{ > + uint64_t page; > + > + if (unlikely(!dev->log_base || !len)) > +

[dpdk-dev] [PATCH v2 1/5] vhost: un-inline dirty pages logging functions

2019-05-17 Thread Maxime Coquelin
In order to reduce the I-cache pressure, this patch removes the inlining of the dirty pages logging functions, that we can consider as cold path. Indeed, these functions are only called while doing live migration, so not called most of the time. Signed-off-by: Maxime Coquelin --- lib/librte_vho